Commit c4b6ae46 authored by Tarek Ziadé's avatar Tarek Ziadé

now uses the right exception type

parent f6e2f956
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment