From 743bcb03f178624c89d77aac0102e90f4acde0fc Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 19 Mar 2011 23:02:54 -0400 Subject: [PATCH] remove debug prints --- Window.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Window.py b/Window.py index bfd55f3..26e9fb3 100644 --- a/Window.py +++ b/Window.py @@ -226,8 +226,6 @@ class Window: for day in range(7): dt = str(self.monday + timedelta(day)) day_hours = self.ds.getProjectDailyHours(dt) - print day - print day_hours for p in day_hours: if p in self.project_hour_labels: hrs = self.hoursFromSeconds(day_hours[p]) @@ -235,7 +233,6 @@ class Window: totals[p] = 0 totals[p] += float(hrs) self.project_hour_labels[p][day].set_text(hrs) - print totals for p in totals: if p in self.project_hour_labels: self.project_hour_labels[p][7].set_text(str(totals[p])) @@ -315,14 +312,13 @@ class Window: if event.button == 1: return self.project_select_event(lbl.get_text()) elif event.button == 3: - print "Right Click" + # TODO: handle right-click return True return False def project_select_event(self, projectName): pnum = self.getProjectNum(projectName) if pnum: - print "Selected project '%s' (%d)" % (projectName, pnum) self.currProject = pnum self.updateProjects() return True @@ -353,7 +349,7 @@ class Window: if event.button == 1: return self.task_select_event(lbl.get_text()) elif event.button == 3: - print "Right Click" + # TODO: handle right-click return True return False @@ -362,7 +358,6 @@ class Window: if tnum: self.updateCurrTaskHours() self.currTask = tnum - print "Selected task '%s' (%d)" % (taskName, tnum) self.updateProjects() return True return False