[hamster-applet] forgot debug statements



commit 59d4b5d9d084fc687007cdcbdc3044ede4d14cb3
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sun Dec 20 18:11:58 2009 +0000

    forgot debug statements

 hamster/widgets/newtimeline.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/hamster/widgets/newtimeline.py b/hamster/widgets/newtimeline.py
index ef7ad28..414bc65 100644
--- a/hamster/widgets/newtimeline.py
+++ b/hamster/widgets/newtimeline.py
@@ -98,8 +98,6 @@ class NewTimeLine(graphics.Area):
         else: # show per hour
             self.minor_tick = dt.timedelta(seconds = 60 * 60)
 
-        print self.start_time, self.end_time
-        
         self.count_hours()
         
         self.redraw_canvas()
@@ -259,7 +257,7 @@ class NewTimeLine(graphics.Area):
             else:
                 hours[bisect_left(fractions, dt.datetime.combine(fact["date"], dt.time()))] += stuff.duration_minutes(fact["delta"])
 
-        print hours
+
         # now normalize
         max_hour = max(hours)
         hours = [hour / float(max_hour or 1) for hour in hours]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]