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