Fix paver test_js task to work without -p flag

This commit is contained in:
Greg Price
2014-12-03 14:55:18 -05:00
parent 3c99912213
commit bc41b65c18

View File

@@ -33,7 +33,7 @@ def test_js(options):
elif mode == 'dev':
suite = getattr(options, 'suite', None)
coverage = False
port = getattr(options, 'port')
port = getattr(options, 'port', None)
else:
sys.stderr.write("Invalid mode. Please choose 'dev' or 'run'.")
return