Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor refactoring

  • Loading branch information...
commit 74d7ae8f5496979baf1b7e995b38474dc81d5e70 1 parent ea1c268
Atul Varma authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  python-lib/cuddlefish/__init__.py
View
3  python-lib/cuddlefish/__init__.py
@@ -27,6 +27,7 @@ def run(arguments=sys.argv[1:]):
# optparse documentation for more info.
parser_options = {
("-x", "--times",): dict(dest="iterations",
+ type="int",
help="number of times to run tests",
default=1),
("-c", "--components",): dict(dest="components",
@@ -138,8 +139,6 @@ def run(arguments=sys.argv[1:]):
print "package.json does not have a 'main' entry."
sys.exit(1)
- options.iterations = int(options.iterations)
-
if not options.components:
options.components = []
else:
Please sign in to comment.
Something went wrong with that request. Please try again.