summaryrefslogtreecommitdiffstats
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
commit0384131cdf9430f78440fab239d7f191fcae4055 (patch)
tree0b451802037a2ae6c83a5d7abb6ec2acae4b850f
parent15201886b97ee607bb494d85eea8e3a7096c6a14 (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/reaktor/__init__.py2
-rwxr-xr-xReaktor/reaktor/core.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Reaktor/reaktor/__init__.py b/Reaktor/reaktor/__init__.py
index dd694a06..10b8539a 100644
--- a/Reaktor/reaktor/__init__.py
+++ b/Reaktor/reaktor/__init__.py
@@ -1 +1 @@
-__version__="0.4.3"
+__version__="0.5.0"
diff --git a/Reaktor/reaktor/core.py b/Reaktor/reaktor/core.py
index eb8d9824..18fb074e 100755
--- a/Reaktor/reaktor/core.py
+++ b/Reaktor/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!")