Comment out some intermediate print.

This commit is contained in:
Ray 2009-04-06 11:03:51 -04:00
parent 683190a261
commit cd2b2aaf42
2 changed files with 4 additions and 4 deletions

View File

@ -204,14 +204,14 @@ class Hud:
def reposition_windows(self, *args): def reposition_windows(self, *args):
for w in self.stat_windows.itervalues(): for w in self.stat_windows.itervalues():
if type(w) == int: if type(w) == int:
print "in reposition, w =", w # print "in reposition, w =", w
continue continue
print "in reposition, w =", w, w.x, w.y # print "in reposition, w =", w, w.x, w.y
w.window.move(w.x, w.y) w.window.move(w.x, w.y)
return True return True
def debug_stat_windows(self, *args): def debug_stat_windows(self, *args):
print self.table, "\n", self.main_window.window.get_transient_for() # print self.table, "\n", self.main_window.window.get_transient_for()
for w in self.stat_windows: for w in self.stat_windows:
print self.stat_windows[w].window.window.get_transient_for() print self.stat_windows[w].window.window.get_transient_for()

View File

@ -451,7 +451,7 @@ class Flop_Mucked(Aux_Window):
def save_layout(self, *args): def save_layout(self, *args):
"""Save new layout back to the aux element in the config file.""" """Save new layout back to the aux element in the config file."""
new_locs = {} new_locs = {}
print "adj =", self.adj # print "adj =", self.adj
for (i, pos) in self.positions.iteritems(): for (i, pos) in self.positions.iteritems():
if i != 'common': if i != 'common':
new_locs[self.adj[int(i)]] = (pos[0] - self.hud.table.x, pos[1] - self.hud.table.y) new_locs[self.adj[int(i)]] = (pos[0] - self.hud.table.x, pos[1] - self.hud.table.y)