summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorcatherine <catherine@dellzilla>2010-03-02 19:12:08 -0500
committercatherine <catherine@dellzilla>2010-03-02 19:12:08 -0500
commit9f757fc3d16cc870467fa0ebca88ff95a43b4546 (patch)
treed9f067b788c8c2c0212c54967402140cdbb922b1 /cmd2.py
parent4d9fc3a07643160064ad22388ec8129bf503847e (diff)
downloadcmd2-hg-9f757fc3d16cc870467fa0ebca88ff95a43b4546.tar.gz
trying to fix binds
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2.py b/cmd2.py
index 78c7820..c052e02 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -977,6 +977,7 @@ class Cmd(cmd.Cmd):
settable parameters with their values.'''
try:
statement, paramName, val = arg.parsed.raw.split(None, 2)
+ val = val.strip()
paramName = paramName.strip().lower()
if paramName not in self.settable:
hits = [p for p in self.settable if p.startswith(paramName)]