[hamster-applet] removed debug prints
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] removed debug prints
- Date: Sun, 22 Aug 2010 09:02:29 +0000 (UTC)
commit ad92d1fcd67ff8efbb4de38edceeb19bb117b90a
Author: Toms Bauģis <toms baugis gmail com>
Date: Sun Aug 22 10:02:04 2010 +0100
removed debug prints
src/hamster/client.py | 6 +-----
src/hamster/overview_totals.py | 1 -
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/hamster/client.py b/src/hamster/client.py
index 256dcc4..f1ba55b 100644
--- a/src/hamster/client.py
+++ b/src/hamster/client.py
@@ -180,11 +180,6 @@ class Storage(gobject.GObject):
if end_timestamp:
end_timestamp = timegm(end_timestamp.timetuple())
- print serialized
- print start_timestamp
- print end_timestamp
- print temporary_activity
-
new_id = self.conn.AddFact(serialized,
start_timestamp,
end_timestamp,
@@ -212,6 +207,7 @@ class Storage(gobject.GObject):
fact_id after update should not be used anymore. Instead use the ID
from the fact dict that is returned by this function"""
+
start_time = timegm((fact.start_time or dt.datetime.now()).timetuple())
end_time = fact.end_time or 0
diff --git a/src/hamster/overview_totals.py b/src/hamster/overview_totals.py
index e7d73eb..311a528 100644
--- a/src/hamster/overview_totals.py
+++ b/src/hamster/overview_totals.py
@@ -155,7 +155,6 @@ class TotalsBox(gtk.VBox):
category_sums[fact.category] += fact.delta
activity_sums[fact.activity] += fact.delta
- print fact.activity, fact.tags
for tag in fact.tags:
tag_sums[tag] += fact.delta
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]