From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Mon, 6 May 2013 12:12:33 +0000 (+0200)
Subject: clean up debug statement
X-Git-Tag: myslice-0.2-1~130^2~1
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5f74cb3f960c342b56f91d772061900ac48528ea;p=unfold.git

clean up debug statement
---

diff --git a/manifold/manifoldapi.py b/manifold/manifoldapi.py
index 6037f98b..c726c656 100644
--- a/manifold/manifoldapi.py
+++ b/manifold/manifoldapi.py
@@ -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)