summarylogtreecommitdiffstats
path: root/0002-No-need-to-use-unicode-on-strs.patch
diff options
context:
space:
mode:
authorshtrom2014-06-18 03:23:08 +0000
committershtrom2014-06-18 03:23:08 +0000
commit03872d641eafddded7904365e17e858f7464a1b8 (patch)
treeab6ce8548a08aa8d1df036b2e2cf44a17bef72a1 /0002-No-need-to-use-unicode-on-strs.patch
parentdea7bf41a5bc98645e2fcbd0f6eef242fffc2261 (diff)
downloadaur-03872d641eafddded7904365e17e858f7464a1b8.tar.gz
[gtg-git] Cleaner patches to fix Hamster integration.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@368 df209809-8e4a-0410-9a64-c169741eb0fc
Diffstat (limited to '0002-No-need-to-use-unicode-on-strs.patch')
-rw-r--r--0002-No-need-to-use-unicode-on-strs.patch26
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
+