diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-12 16:30:59 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-12 21:44:59 -0500 |
commit | 83d1175c32a0638460b51cc8ce7eb1df3a4cf949 (patch) | |
tree | 7e940bc4bc7e10052493753c814a564a8b25d043 /setup_helper.py | |
parent | 027728e17b31fb3ee685733c8b39a06b57158849 (diff) |
Update a bunch of no/low impact python2/3 references/comments
Diffstat (limited to 'setup_helper.py')
-rw-r--r-- | setup_helper.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/setup_helper.py b/setup_helper.py index fc4e755f..8671fd63 100644 --- a/setup_helper.py +++ b/setup_helper.py @@ -134,12 +134,7 @@ def make_tarball( tar = tarfile.open(archive_name, mode=mode) # This recursively adds everything underneath base_dir try: - try: - # Support for the `filter' parameter was added in Python 2.7, - # earlier versions will raise TypeError. - tar.add(base_dir, filter=_set_uid_gid) - except TypeError: - tar.add(base_dir) + tar.add(base_dir, filter=_set_uid_gid) finally: tar.close() |