os.mkdirs doesn't exist

This commit is contained in:
jkeating@harpoon.lab.boston.redhat.com 2006-10-23 22:57:30 -04:00 committed by Jesse Keating
parent 4d568ae728
commit 340e01eaf1
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ def main():
if not os.path.exists(opts.cachedir):
try:
os.mkdirs(opts.cachedir)
os.makedirs(opts.cachedir)
except OSError, e:
print >> sys.stderr, "Error: Cannot create cache dir %s" % opts.destdir
sys.exit(1)