mirror of
https://github.com/munki/munki.git
synced 2026-01-28 01:53:04 -06:00
Fixed exception tuple,
git-svn-id: http://munki.googlecode.com/svn/trunk@359 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -66,7 +66,7 @@ def createDirsIfNeeded(dirlist):
|
||||
if not os.path.exists(directory):
|
||||
try:
|
||||
os.mkdir(directory)
|
||||
except OSError, IOError:
|
||||
except (OSError, IOError):
|
||||
print >>sys.stderr, "ERROR: Could not create %s" % directory
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user