diff options
| author | Christian Heimes <christian@cheimes.de> | 2013-11-15 23:08:21 +0100 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2013-11-15 23:08:21 +0100 |
| commit | 53ae4bd7bad05c5717d8b713e57d41e90d47057c (patch) | |
| tree | 5f803a56c270c3236e0d336118b9ba9f02a3f5b2 | |
| parent | 5f1980bbc9dc1da41e154a2ed0bf988d91c4c7d6 (diff) | |
| download | python-setuptools-git-53ae4bd7bad05c5717d8b713e57d41e90d47057c.tar.gz | |
Issue #19544 and Issue #6516: quick workaround for failing builds
| -rw-r--r-- | archive_util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archive_util.py b/archive_util.py index 306ef6a8..82046a8a 100644 --- a/archive_util.py +++ b/archive_util.py @@ -20,12 +20,12 @@ from distutils import log try: from pwd import getpwnam -except AttributeError: +except (ImportError, AttributeError): getpwnam = None try: from grp import getgrnam -except AttributeError: +except (ImportError, AttributeError): getgrnam = None def _get_gid(name): |
