Commit 53ae4bd7 authored by Christian Heimes's avatar Christian Heimes

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

parent 5f1980bb
...@@ -20,12 +20,12 @@ from distutils import log ...@@ -20,12 +20,12 @@ from distutils import log
try: try:
from pwd import getpwnam from pwd import getpwnam
except AttributeError: except (ImportError, AttributeError):
getpwnam = None getpwnam = None
try: try:
from grp import getgrnam from grp import getgrnam
except AttributeError: except (ImportError, AttributeError):
getgrnam = None getgrnam = None
def _get_gid(name): 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