[hamster-applet/gnome-2-32] all XML values should be strings. fixes bug 632125
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet/gnome-2-32] all XML values should be strings. fixes bug 632125
- Date: Wed, 27 Oct 2010 11:45:09 +0000 (UTC)
commit add600d798864ad7a4d72c3f294f6e225a92bb62
Author: Toms Bauģis <toms baugis gmail com>
Date: Wed Oct 27 12:43:20 2010 +0100
all XML values should be strings. fixes bug 632125
src/hamster/reports.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/reports.py b/src/hamster/reports.py
index 5ae8709..9994319 100644
--- a/src/hamster/reports.py
+++ b/src/hamster/reports.py
@@ -150,7 +150,7 @@ class XMLWriter(ReportWriter):
activity.setAttribute("name", fact["name"])
activity.setAttribute("start_time", fact["start_time"])
activity.setAttribute("end_time", fact["end_time"])
- activity.setAttribute("duration_minutes", stuff.duration_minutes(fact["delta"]))
+ activity.setAttribute("duration_minutes", str(stuff.duration_minutes(fact["delta"])))
activity.setAttribute("category", fact["category"])
activity.setAttribute("description", fact["description"])
activity.setAttribute("tags", fact["tags"])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]