aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <makefu@pnp.retiolum>2015-10-09 10:37:05 +0200
committermakefu <makefu@pnp.retiolum>2015-10-09 10:37:05 +0200
commit07a3625f6582f9152c0944efd70376bf711493e6 (patch)
tree62ea278c22844221056f926d9d047c6da4cfe851
parent58cc9dc1d877718e5a21bf9766eaa33a17fe7311 (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__.py2
-rwxr-xr-xreaktor/core.py2
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!")