diff options
author | makefu <makefu@pnp.retiolum> | 2015-10-09 10:37:05 +0200 |
---|---|---|
committer | makefu <makefu@pnp.retiolum> | 2015-10-09 10:37:05 +0200 |
commit | 07a3625f6582f9152c0944efd70376bf711493e6 (patch) | |
tree | 62ea278c22844221056f926d9d047c6da4cfe851 | |
parent | 58cc9dc1d877718e5a21bf9766eaa33a17fe7311 (diff) |
Reaktor: drop shlex for parsing args, every command has to do it by itself now
this breaks compatibility so be aware
-rw-r--r-- | reaktor/__init__.py | 2 | ||||
-rwxr-xr-x | reaktor/core.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/reaktor/__init__.py b/reaktor/__init__.py index dd694a0..10b8539 100644 --- a/reaktor/__init__.py +++ b/reaktor/__init__.py @@ -1 +1 @@ -__version__="0.4.3" +__version__="0.5.0" diff --git a/reaktor/core.py b/reaktor/core.py index eb8d982..18fb074 100755 --- a/reaktor/core.py +++ b/reaktor/core.py @@ -107,7 +107,7 @@ class Reaktor(asybot): myargv = [exe] + command['argv'][1:] try: if match and match.groupdict().get('args', None): - myargv += shlex.split(match.groupdict()['args']) + myargv += [match.groupdict()['args']] except: log.info("cannot parse args!") |