[hamster-applet] allow to have no prefix for the datestring thing
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Subject: [hamster-applet] allow to have no prefix for the datestring thing
- Date: Mon, 20 Jul 2009 12:46:37 +0000 (UTC)
commit 4f35e14fd5f3255b5083211112b5b452a2e06d6d
Author: Toms Bauģis <toms baugis gmail com>
Date: Mon Jul 20 14:13:28 2009 +0300
allow to have no prefix for the datestring thing
hamster/stuff.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/hamster/stuff.py b/hamster/stuff.py
index 362ebc9..e417ca0 100644
--- a/hamster/stuff.py
+++ b/hamster/stuff.py
@@ -176,7 +176,7 @@ def totals(iter, keyfunc, sumfunc):
-def dateDict(date, prefix):
+def dateDict(date, prefix = ""):
"""converts date into dictionary, having prefix for all the keys"""
res = {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]