clean up debug statement
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 6 May 2013 12:12:33 +0000 (14:12 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 6 May 2013 12:12:33 +0000 (14:12 +0200)
manifold/manifoldapi.py

index 6037f98..c726c65 100644 (file)
@@ -71,11 +71,11 @@ class ManifoldAPI:
     def send_manifold_query (self, query):
         # We use a dictionary representation of the query for forwarding it to the API
         ret = self.forward(query.to_dict())
-        print "="*80
-        print "Result:"
-        print ret
-        print "="*80
-        print ret
+        if debug:
+            print "="*80
+            print "Result:"
+            print ret
+            print "="*80
         return ret
 
 #old#        (action,subject)= (query.action,query.subject)