diff options
| author | Catherine Devlin <catherine.devlin@gmail.com> | 2010-02-16 12:53:02 -0500 |
|---|---|---|
| committer | Catherine Devlin <catherine.devlin@gmail.com> | 2010-02-16 12:53:02 -0500 |
| commit | 4fbbe583c47ad85943d71508612c8cc94887bc0a (patch) | |
| tree | 83b590f33823fd3157d06a791fec69b20552b00e | |
| parent | f678838dcc349e1bd50f2937ea285392639cc095 (diff) | |
| download | cmd2-git-4fbbe583c47ad85943d71508612c8cc94887bc0a.tar.gz | |
cleanup print to py3 syntax'
'
| -rwxr-xr-x | cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -402,7 +402,7 @@ class Cmd(cmd.Cmd): def perror(self, errmsg, statement=None): if self.debug: traceback.print_exc() - print str(errmsg) + print (str(errmsg)) def pfeedback(self, msg): """For printing nonessential feedback. Can be silenced with `quiet`. Inclusion in redirected output is controlled by `feedback_to_output`.""" @@ -1388,7 +1388,7 @@ def cast(current, new): return typ(new) except: pass - print "Problem setting parameter (now %s) to %s; incorrect type?" % (current, new) + print ("Problem setting parameter (now %s) to %s; incorrect type?" % (current, new)) return current class Statekeeper(object): |
