changeset 332:06abdeadde6e

Removed debug print statements Should never have been there in the first place...
author Sigurd Meldgaard <stm@daimi.au.dk>
date Wed, 07 Jul 2010 10:47:20 +0200
parents 78c40a179bab
children b42cc382a1f0
files pysmcl/secret_ifs.py pysmcl/test/unit/test_rangeanalysis.py
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/secret_ifs.py	Tue Jul 06 16:13:07 2010 +0200
+++ b/pysmcl/secret_ifs.py	Wed Jul 07 10:47:20 2010 +0200
@@ -102,7 +102,6 @@
 
     def visit_If(self, node):
         self.generic_visit(node)
-        print ast.get_ancestor(node, ast.stmt).in_values["secret"]
         if(pysmcl.secret_annotator.expr_secret(node.test)):
             range_visitor = RangeVisitor(node.in_values["range"])
             if not range_visitor.visit(node.test).within(Range(0, 1)):
--- a/pysmcl/test/unit/test_rangeanalysis.py	Tue Jul 06 16:13:07 2010 +0200
+++ b/pysmcl/test/unit/test_rangeanalysis.py	Wed Jul 07 10:47:20 2010 +0200
@@ -26,7 +26,6 @@
 
     def test_range_add(self):
         r = do_range_analysis("def f(x):\n\tx=3\n\ty=2\n\tz=x+y\n")
-        print r
         self.assertEquals(r, {'y': (2, 2), 'x': (3, 3), 'z': (5, 5)})
 
     def test_range_add_bottom(self):