diff --git a/pyface/ipython_widget.py b/pyface/ipython_widget.py index 63bc076..e9124ec 100644 --- a/pyface/ipython_widget.py +++ b/pyface/ipython_widget.py @@ -13,6 +13,7 @@ #------------------------------------------------------------------------------ """ The implementation of an IPython shell. """ +from __future__ import absolute_import # Import the toolkit specific version. try: @@ -24,7 +25,5 @@ Could not load the Wx frontend for ipython. You need to have ipython >= 0.9 installed to use the ipython widget.''' -from __future__ import absolute_import - from .toolkit import toolkit_object IPythonWidget= toolkit_object('ipython_widget:IPythonWidget')