summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-21 00:16:43 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-21 00:16:43 -0400
commit4b91f6355795d7bd23ff46882fd7181a3a11a419 (patch)
tree31dcb1fd807e255a388e56b80dcf0279fd1899b0 /cmd2
parent7991e5115780066a35c5fdb440c4a8e77907a163 (diff)
downloadcmd2-git-4b91f6355795d7bd23ff46882fd7181a3a11a419.tar.gz
Changed warning text
Diffstat (limited to 'cmd2')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index d1dc87ff..b03e3280 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -3247,7 +3247,7 @@ class Cmd(cmd.Cmd):
expanded_filename = os.path.expanduser(filename)
if not expanded_filename.endswith('.py'):
- self.pwarning("'{}' does not appear to be a Python file".format(expanded_filename))
+ self.pwarning("'{}' does not have a .py extension".format(expanded_filename))
selection = self.select('Yes No', 'Continue to try to run it as a Python script? ')
if selection != 'Yes':
return