From: Orakaro Date: Sun, 10 Aug 2014 07:00:05 +0000 (+0900) Subject: release v0.7.1 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=779b06408936e365b959bcf5365d3b051fa628e7;p=rainbowstream.git release v0.7.1 --- diff --git a/docs/conf.py b/docs/conf.py index 73a9a4d..5a2b801 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ copyright = u'2014, Vu Nhat Minh' # built documents. # # The short X.Y version. -version = '0.7.0' +version = '0.7.1' # The full version, including alpha/beta/rc tags. -release = '0.7.0' +release = '0.7.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 3d154ca..6464e59 100644 --- 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('%s %s' % (g['cmd'], g['stuff'])))) + printNicely(str(eval(g['cmd']))) except Exception: pass @@ -1653,11 +1653,13 @@ def listen(): line = raw_input() # Save previous cmd in order to compare with readline buffer g['previous_cmd'] = line.strip() + # Get short cmd to filter try: cmd = line.split()[0] except: cmd = '' - g['cmd'] = cmd + # Save whold the entire cmd + g['cmd'] = line try: # Lock the semaphore c['lock'] = True diff --git a/setup.py b/setup.py index da183cc..e352cfd 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os import os.path # Bumped version -version = '0.7.0' +version = '0.7.1' # Require install_requires = [