diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-10-02 14:10:46 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-10-02 14:10:46 (GMT) |
commit | 5dfee588fafbb2007f1d9dd725bf40d2de0bffc4 (patch) | |
tree | 0b7d850dc34e8ffa227f1d0cae4d9bac84a34eec /abacus_window.py | |
parent | a755fa696576a165952dadd4d1cd9669aee7925d (diff) |
cleaned up logger output
Diffstat (limited to 'abacus_window.py')
-rw-r--r-- | abacus_window.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/abacus_window.py b/abacus_window.py index 9e27f0e..547d546 100644 --- a/abacus_window.py +++ b/abacus_window.py @@ -688,7 +688,6 @@ class AbacusGeneric(): def set_value_from_number(self, number): """ Set abacus to value in string """ - print "setting %s to %f" % (self.name, number) self.reset_abacus() if number <= self.max_value(): for r in range(self.num_rods): @@ -783,7 +782,6 @@ class AbacusGeneric(): for bead in self.beads: sum += bead.get_value() string = str(sum) - print self.name, string return(string) def label(self, string): @@ -814,7 +812,7 @@ class AbacusGeneric(): i = self.beads.index(bead) break if i == -1: - print "bead not found" + _logger.debug("bead not found") return b = i % (self.top_beads+self.bot_beads) @@ -1143,7 +1141,7 @@ class Schety(AbacusGeneric): i = self.beads.index(bead) break if i == -1: - print "bead not found" + _logger.debug("bead not found") return # Find out which rod i corresponds to @@ -1374,7 +1372,7 @@ class Caacupe(Fractions): i = self.beads.index(bead) break if i == -1: - print "bead not found" + _logger.debug("bead not found") return # Find out which rod i corresponds to |