summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorcatherine <catherine@Drou>2010-02-16 12:53:02 -0500
committercatherine <catherine@Drou>2010-02-16 12:53:02 -0500
commit6822dbf37fe364303b801e85e00f9e3ee4cddce0 (patch)
tree83b590f33823fd3157d06a791fec69b20552b00e /cmd2.py
parent0560939471a689c24e095ab183626ad5855bf83e (diff)
downloadcmd2-hg-6822dbf37fe364303b801e85e00f9e3ee4cddce0.tar.gz
cleanup print to py3 syntax'
'
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2.py b/cmd2.py
index 729d37e..5ebd3f0 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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):