Merged revisions 75209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75209 | tarek.ziade | 2009-10-03 16:52:33 +0200 (Sat, 03 Oct 2009) | 1 line now uses the right exception type ........
This commit is contained in:
parent
36cea39b22
commit
81c9a95751
|
@ -16,12 +16,12 @@ from distutils import log
|
|||
|
||||
try:
|
||||
from pwd import getpwnam
|
||||
except AttributeError:
|
||||
except ImportError:
|
||||
getpwnam = None
|
||||
|
||||
try:
|
||||
from grp import getgrnam
|
||||
except AttributeError:
|
||||
except ImportError:
|
||||
getgrnam = None
|
||||
|
||||
def _get_gid(name):
|
||||
|
|
Loading…
Reference in New Issue