Fixed exception tuple,

git-svn-id: http://munki.googlecode.com/svn/trunk@359 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-11-18 05:19:59 +00:00
parent fc7570449b
commit 451bb6ca10

View File

@@ -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