From 357f1a88a49a1f49aff56b264a2c58184a06f98f Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Tue, 3 Feb 2015 01:21:43 -0500 Subject: [PATCH] BUG: Remove Pokemon exception handling. This was masking real errors that were occurring during registration of cell magic. --- zipline/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/__init__.py b/zipline/__init__.py index 5f5ae720..381b5efd 100644 --- a/zipline/__init__.py +++ b/zipline/__init__.py @@ -34,7 +34,7 @@ from . import api try: ip = get_ipython() # flake8: noqa ip.register_magic_function(utils.parse_cell_magic, "line_cell", "zipline") -except: +except NameError: pass __all__ = [