From 5f74cb3f960c342b56f91d772061900ac48528ea Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 6 May 2013 14:12:33 +0200 Subject: [PATCH] clean up debug statement --- manifold/manifoldapi.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) -- 2.43.0