fix_reason_py3
authorDebian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>
Tue, 13 Sep 2016 02:50:04 +0000 (03:50 +0100)
committerBW Keller <malzraa@gmail.com>
Tue, 13 Sep 2016 02:50:04 +0000 (03:50 +0100)
Gbp-Pq: Name fix_reason_py3.patch

yt/gui/reason/basic_repl.py

index a1ef6e0e562d3249eb908d71173dc8d9b4e80e74..a58de564561b34c83e42f0c0841155c92081e99f 100644 (file)
@@ -78,7 +78,7 @@ class ProgrammaticREPL(object):
         sys.stdout = sys.stderr = out
         try:
             try:
-                exec code in self.locals
+                exec(code in self.locals)
             except:
                 result = traceback.format_exc()
             else: