diff options
author | catherine <catherine@Drou> | 2010-02-16 12:53:02 -0500 |
---|---|---|
committer | catherine <catherine@Drou> | 2010-02-16 12:53:02 -0500 |
commit | 6822dbf37fe364303b801e85e00f9e3ee4cddce0 (patch) | |
tree | 83b590f33823fd3157d06a791fec69b20552b00e /cmd2.py | |
parent | 0560939471a689c24e095ab183626ad5855bf83e (diff) | |
download | cmd2-hg-6822dbf37fe364303b801e85e00f9e3ee4cddce0.tar.gz |
cleanup print to py3 syntax'
'
Diffstat (limited to 'cmd2.py')
-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): |