Description: Fix sintax errors since print and exec are not keywords in Python3
Author: Daniele Tricoli <eriol@mornie.org>
--- a/circuits/web/apps/memorymonitor/reftree.py
+++ b/circuits/web/apps/memorymonitor/reftree.py
@@ -172,9 +172,9 @@
         """Walk the object tree, pretty-printing each branch."""
         self.ignore_caller()
         for trail in self.walk(maxresults, maxdepth):
-            print trail
+            print (trail)
         if self.stops:
-            print "%s paths stopped because max depth reached" % self.stops
+            print ("%s paths stopped because max depth reached" % self.stops)


 def count_objects():
--- a/circuits/web/apps/webconsole/__init__.py
+++ b/circuits/web/apps/webconsole/__init__.py
@@ -56,7 +56,7 @@
         sys.stdout = sys.stderr = out
         try:
             try:
-                exec code in self.locals
+                exec (code in self.locals)
             except:
                 result = traceback.format_exc()
             else:
