Browse files

Better whitespace sensitivity for remote

Signed-off-by: Jack Miller <jack@codezen.org>
  • Loading branch information...
1 parent e0b7efb commit 8a42c32411ea60d0ea7d04fc1bf0811815275953 @themoken committed Jul 19, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 canto_next/remote.py
View
6 canto_next/remote.py
@@ -224,8 +224,6 @@ def _config(self, args, evaled=False):
gets.append(var)
if val:
- val = val.lstrip().rstrip()
-
if evaled:
try:
val = eval(val, {},{})
@@ -275,8 +273,8 @@ def cmd_one_config(self):
return False
if sys.argv[1] == "--eval":
- return self._config([" ".join(sys.argv[2:])], True)
- return self._config([" ".join(sys.argv[1:])], False)
+ return self._config(["".join(sys.argv[2:])], True)
+ return self._config(["".join(sys.argv[1:])], False)
def cmd_config(self):
"""USAGE: canto-remote config [--eval] [option](=value) ...

0 comments on commit 8a42c32

Please sign in to comment.