From 779dee205ea632f80f61483e920652016e0c409b Mon Sep 17 00:00:00 2001 From: "jkeating@localhost.localdomain" <> Date: Wed, 25 Oct 2006 14:11:23 -0400 Subject: [PATCH] Fix up error messages (Jaroslaw Gorny) --- __init__.py | 4 ++-- gather.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)