Issue #19544 and Issue #6516: quick workaround for failing builds

This commit is contained in:
Christian Heimes 2013-11-15 23:08:21 +01:00
parent 56b04352f8
commit 06afed07d1
1 changed files with 2 additions and 2 deletions

View File

@ -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):