summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-07-08 14:33:20 -0400
committerCasey Dahlin <cdahlin@redhat.com>2008-07-08 15:15:56 -0400
commit476e7662f18a749c4b682e45b3aa8e30a8e364ce (patch)
treed47c8adfa0197138b026b79a83a2325d25f1622b
parent88748c78fb56a0d82dfb9610f2b9feeb0a7976cb (diff)
downloadpresto-476e7662f18a749c4b682e45b3aa8e30a8e364ce.zip
presto-476e7662f18a749c4b682e45b3aa8e30a8e364ce.tar.gz
presto-476e7662f18a749c4b682e45b3aa8e30a8e364ce.tar.xz
Better argument error checking in gendeltarpms.py
-rw-r--r--presto-utils/gendeltarpms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/presto-utils/gendeltarpms.py b/presto-utils/gendeltarpms.py
index 7db9d4f..4895ec8 100644
--- a/presto-utils/gendeltarpms.py
+++ b/presto-utils/gendeltarpms.py
@@ -262,7 +262,7 @@ def parseArgs(args):
if len(argsleft) > 2:
errorprint(_('Error: You may only specify one rpm directory and one deltarpm directory.'))
usage()
- elif len(argsleft) == 0:
+ elif len(argsleft) < 2:
errorprint(_('Error: Must specify an rpm directory to index and a destination deltarpm directory.'))
usage()
else: