Add functioning prefix-ignorer and cleanup of code.
This commit is contained in:
parent
d4df0948e3
commit
1fbb4c4358
7 changed files with 10 additions and 15 deletions
|
|
@ -549,6 +549,8 @@ def cmdhandler(called_by, raw_string, _testing=False, callertype="session", sess
|
|||
if not cmdset:
|
||||
# this is bad and shouldn't happen.
|
||||
raise NoCmdSets
|
||||
# store the completely unmodified raw string - including
|
||||
# whitespace and eventual prefixes-to-be-stripped.
|
||||
unformatted_raw_string = raw_string
|
||||
raw_string = raw_string.strip()
|
||||
if not raw_string:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue