diff options
Diffstat (limited to 'Demo/pdist/cmdfw.py')
-rwxr-xr-x | Demo/pdist/cmdfw.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/pdist/cmdfw.py b/Demo/pdist/cmdfw.py index a0c6f5d..25584b7 100755 --- a/Demo/pdist/cmdfw.py +++ b/Demo/pdist/cmdfw.py @@ -55,7 +55,7 @@ class CommandFrameWork: try: method = getattr(self, mname) except AttributeError: - return self.usage("command %s unknown" % `cmd`) + return self.usage("command %r unknown" % (cmd,)) try: flags = getattr(self, fname) except AttributeError: @@ -75,7 +75,7 @@ class CommandFrameWork: print "-"*40 print "Options:" for o, a in opts: - print 'option', o, 'value', `a` + print 'option', o, 'value', repr(a) print "-"*40 def ready(self): @@ -137,7 +137,7 @@ def test(): for t in tests: print '-'*10, t, '-'*10 sts = x.run(t) - print "Exit status:", `sts` + print "Exit status:", repr(sts) if __name__ == '__main__': |