projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b84f2
)
don't drop user input after spaces when attempting eval
author
Me
<Me>
Sun, 10 Aug 2014 05:42:19 +0000
(
01:42
-0400)
committer
Me
<Me>
Sun, 10 Aug 2014 05:42:19 +0000
(
01:42
-0400)
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index c66ae9af31b2e669dd081557f74fbebb52a8f91b..3d154cabbf94feee8c50b12e8a73570211e95704 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-1520,7
+1520,7
@@
def reset():
printNicely(magenta('Need tips ? Type "h" and hit Enter key!'))
g['reset'] = False
try:
- printNicely(str(eval(
g['cmd']
)))
+ printNicely(str(eval(
'%s %s' % (g['cmd'], g['stuff'])
)))
except Exception:
pass