Revision: 742
Author:   keith.dart
Date:     Mon Mar  3 20:28:00 2014 UTC
Log:      Fix small bug here.
http://code.google.com/p/pycopia/source/detail?r=742
Modified:
  /trunk/core/pycopia/interactive.py
=======================================
--- /trunk/core/pycopia/interactive.py	Wed Jan  9 11:22:22 2013 UTC
+++ /trunk/core/pycopia/interactive.py	Mon Mar  3 20:28:00 2014 UTC
@@ -157,9 +157,10 @@
  def mydisplayhook(obj):
      pprint(obj)
      setattr(sys.modules["__main__"], "_", obj)
+sys.displayhook = mydisplayhook
  setattr(sys.modules["__main__"], "_", None)
-sys.displayhook = mydisplayhook
+
  # Add some functions useful for interactive use to builtins.
  # This is done to provide better interactive functionality without