Command constructor: default_time optional

This commit is contained in:
Josh Holtrop committed 2011-01-01 17:51:04 -05:00
1 parent 67a04df59a
commit 78cb101357
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ def testcmd(cmdline, cmd, argstr):
global n_tests, n_pass
n_tests += 1
print "Testing command line '%s'" % cmdline
c = Command(datetime.now(), cmdline)
c = Command(cmdline)
if c.command == cmd and c.argstr == argstr:
n_pass += 1
else: