mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -16,12 +16,12 @@ from distutils import log
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from pwd import getpwnam
|
from pwd import getpwnam
|
||||||
except AttributeError:
|
except ImportError:
|
||||||
getpwnam = None
|
getpwnam = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from grp import getgrnam
|
from grp import getgrnam
|
||||||
except AttributeError:
|
except ImportError:
|
||||||
getgrnam = None
|
getgrnam = None
|
||||||
|
|
||||||
def _get_gid(name):
|
def _get_gid(name):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue