[accerciser] Changing the way which we're checking the ipython version as a sanity check



commit a4f1eed76b9f843047ddd5b303f6ad0ae012810b
Author: Javier HernÃndez <jhernandez emergya es>
Date:   Mon Feb 20 23:22:34 2012 +0100

    Changing the way which we're checking the ipython version as a sanity check

 plugins/ipython_view.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/ipython_view.py b/plugins/ipython_view.py
index ed4e3c1..95deed3 100755
--- a/plugins/ipython_view.py
+++ b/plugins/ipython_view.py
@@ -178,7 +178,7 @@ class IterableIPShell:
     # Backwards compatibility with ipyton-0.11
     #
     ver = IPython.__version__
-    if ver == '0.11':
+    if '0.11' in ver:
         prompt = self.IP.hooks.generate_prompt(is_continuation)
     else:
         if is_continuation:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]