Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
python3-doc.7723
python-sorted_tar.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-sorted_tar.patch of Package python3-doc.7723
commit 6936e36efcc0a75c7d5e67b949c9749d61fa5ead Author: Bernhard M. Wiedemann <bwiedemann@suse.de> Date: Sun Jun 18 03:50:25 2017 +0200 tarfile: sort directory listing to generate tar files in a more reproducible way --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -1931,7 +1931,7 @@ class TarFile(object): elif tarinfo.isdir(): self.addfile(tarinfo) if recursive: - for f in os.listdir(name): + for f in sorted(os.listdir(name)): self.add(os.path.join(name, f), os.path.join(arcname, f), recursive, exclude, filter=filter)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor