Mercurial > python-cmd2
changeset 383:2594f69698b2
trying to fix binds
author | catherine@dellzilla |
---|---|
date | Tue, 02 Mar 2010 19:12:08 -0500 |
parents | 2687482dfa33 |
children | 99c66656d81b |
files | cmd2.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd2.py Mon Mar 01 23:26:55 2010 -0500 +++ b/cmd2.py Tue Mar 02 19:12:08 2010 -0500 @@ -977,6 +977,7 @@ 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)]