[Checkins] SVN: grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/ Fix typo, limit exception range.

Ulrich Fouquet cvs-admin at zope.org
Fri Apr 27 08:45:47 UTC 2012


Log message for revision 125319:
  Fix typo, limit exception range.

Changed:
  U   grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/__init__.py
  U   grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/debug.py

-=-
Modified: grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/__init__.py
===================================================================
--- grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/__init__.py	2012-04-27 08:28:47 UTC (rev 125318)
+++ grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/__init__.py	2012-04-27 08:45:43 UTC (rev 125319)
@@ -18,5 +18,5 @@
 try:
     import IPython
     from grokcore.startup.debug import interactive_debug_prompt
-except:
+except ImportError:
     from grokcore.startup.startup import interactive_debug_prompt

Modified: grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/debug.py
===================================================================
--- grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/debug.py	2012-04-27 08:28:47 UTC (rev 125318)
+++ grokcore.startup/branches/ipython-debug-shell/src/grokcore/startup/debug.py	2012-04-27 08:45:43 UTC (rev 125319)
@@ -180,8 +180,7 @@
             if obj.__name__.startswith(tail)]
 
 
-def interactiv_debug_prompt(zope_conf):
-
+def interactive_debug_prompt(zope_conf):
     banner = textwrap.dedent(
         """\
         IPython shell for Grok.



More information about the checkins mailing list