diff --git a/__init__.py b/__init__.py index 10b458bb..8e736d6a 100755 --- a/__init__.py +++ b/__init__.py @@ -27,14 +27,14 @@ def main(): try: os.makedirs(opts.destdir) except OSError, e: - print >> sys.stderr, "Error: Cannot destination dir %s" % opts.destdir + print >> sys.stderr, "Error: Cannot create destination dir %s" % opts.destdir sys.exit(1) if not os.path.exists(opts.cachedir): try: os.makedirs(opts.cachedir) except OSError, e: - print >> sys.stderr, "Error: Cannot create cache dir %s" % opts.destdir + print >> sys.stderr, "Error: Cannot create cache dir %s" % opts.cachedir sys.exit(1) mygather = gather.Gather(opts, pkglist) diff --git a/gather.py b/gather.py index 17d6146a..a4e6df90 100755 --- a/gather.py +++ b/gather.py @@ -142,14 +142,14 @@ def main(): try: os.makedirs(opts.destdir) except OSError, e: - print >> sys.stderr, "Error: Cannot destination dir %s" % opts.destdir + print >> sys.stderr, "Error: Cannot create destination dir %s" % opts.destdir sys.exit(1) if not os.path.exists(opts.cachedir): try: os.makedirs(opts.cachedir) except OSError, e: - print >> sys.stderr, "Error: Cannot create cache dir %s" % opts.destdir + print >> sys.stderr, "Error: Cannot create cache dir %s" % opts.cachedir sys.exit(1) mygather = Gather(opts, pkglist)