mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 04:27:16 +02:00
Cleaned up the test suite to pass all tests again. Cleaned up the build command's parse() method. Fixed some minor bugs.
This commit is contained in:
parent
1ced5ee8f2
commit
935bef1f43
5 changed files with 51 additions and 84 deletions
|
|
@ -94,7 +94,7 @@ class MuxCommand(Command):
|
|||
|
||||
# split out switches
|
||||
switches = []
|
||||
if args and len(args) >1 and args[0] == "/":
|
||||
if args and len(args) > 1 and args[0] == "/":
|
||||
# we have a switch, or a set of switches. These end with a space.
|
||||
#print "'%s'" % args
|
||||
switches = args[1:].split(None, 1)
|
||||
|
|
@ -104,7 +104,7 @@ class MuxCommand(Command):
|
|||
else:
|
||||
args = ""
|
||||
switches = switches[0].split('/')
|
||||
arglist = [arg.strip() for arg in args.split(None)]
|
||||
arglist = [arg.strip() for arg in args.split()]
|
||||
|
||||
# check for arg1, arg2, ... = argA, argB, ... constructs
|
||||
lhs, rhs = args, None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue