diff options
author | shtrom | 2014-10-24 00:15:43 +0000 |
---|---|---|
committer | shtrom | 2014-10-24 00:15:43 +0000 |
commit | 17c8b74d31622a2afb2d4aba9a513a73488f27fe (patch) | |
tree | 8ce98be9b7c04009139b7faed3a978168ba755b5 /0001-plugin-API-Open-preference-file-for-reading-as-binar.patch | |
parent | 6964c05fa76be34f4cd5c7f61bf40c8e9cb71d32 (diff) | |
download | aur-17c8b74d31622a2afb2d4aba9a513a73488f27fe.tar.gz |
[gtg-git] Update patches.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@379 df209809-8e4a-0410-9a64-c169741eb0fc
Diffstat (limited to '0001-plugin-API-Open-preference-file-for-reading-as-binar.patch')
-rw-r--r-- | 0001-plugin-API-Open-preference-file-for-reading-as-binar.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/0001-plugin-API-Open-preference-file-for-reading-as-binar.patch b/0001-plugin-API-Open-preference-file-for-reading-as-binar.patch deleted file mode 100644 index 5330fde41e3d..000000000000 --- a/0001-plugin-API-Open-preference-file-for-reading-as-binar.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 767bfca97a931def28d354d18c1ec3541779ff59 Mon Sep 17 00:00:00 2001 -From: Olivier Mehani <shtrom+gtg@ssji.net> -Date: Wed, 18 Jun 2014 09:46:31 +1000 -Subject: [PATCH] [plugin API] Open preference file for reading as binary - -Otherwise, the file is not readable as such when reloading, and the -plugin (e.g., Hamster integration) always uses the defaults. - -Signed-off-by: Olivier Mehani <shtrom+gtg@ssji.net> ---- - GTG/core/plugins/api.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/GTG/core/plugins/api.py b/GTG/core/plugins/api.py -index 6e881f4..09c3f4f 100644 ---- a/GTG/core/plugins/api.py -+++ b/GTG/core/plugins/api.py -@@ -237,7 +237,7 @@ class PluginAPI: - if os.path.isdir(dirname): - if os.path.isfile(path): - try: -- with open(path, 'r') as file: -+ with open(path, 'rb') as file: - item = pickle.load(file) - config.update(item) - except: --- -2.0.0 - |