diff options
Diffstat (limited to '0002-No-need-to-use-unicode-on-strs.patch')
-rw-r--r-- | 0002-No-need-to-use-unicode-on-strs.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0002-No-need-to-use-unicode-on-strs.patch b/0002-No-need-to-use-unicode-on-strs.patch new file mode 100644 index 000000000000..c614eea367a6 --- /dev/null +++ b/0002-No-need-to-use-unicode-on-strs.patch @@ -0,0 +1,26 @@ +From f10a378cb1efc6fa73f0f113968efcc8221eb287 Mon Sep 17 00:00:00 2001 +From: Olivier Mehani <olivier.mehani@nicta.com.au> +Date: Wed, 18 Jun 2014 13:11:01 +1000 +Subject: [PATCH 2/2] No need to use unicode() on strs + +Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au> +--- + GTG/plugins/hamster/hamster.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/GTG/plugins/hamster/hamster.py b/GTG/plugins/hamster/hamster.py +index 2badf8b..cbc97d4 100644 +--- a/GTG/plugins/hamster/hamster.py ++++ b/GTG/plugins/hamster/hamster.py +@@ -90,7 +90,7 @@ class hamsterPlugin: + + category = "" + if self.preferences['category'] == 'auto_tag': +- hamster_activities = dict([(str(x[0]), unicode(x[1])) ++ hamster_activities = dict([(str(x[0]), x[1]) + for x in + self.hamster.GetActivities('')]) + if (gtg_title in hamster_activities +-- +2.0.0 + |