beautify Command to string a little

This commit is contained in:
Josh Holtrop 2010-12-29 00:20:57 -05:00
parent 0eb5a89d18
commit 9ea2fbed41

View File

@ -10,7 +10,7 @@ class Command:
self.parseCommandLine(cmdline) self.parseCommandLine(cmdline)
def __str__(self): def __str__(self):
return "{'time' => %s, 'command' => %s, 'argstr' => %s}" % \ return "{'time' => '%s', 'command' => '%s', 'argstr' => '%s'}" % \
(self.time, self.command, self.argstr) (self.time, self.command, self.argstr)
def parseCommandLine(self, cmdline): def parseCommandLine(self, cmdline):