summarylogtreecommitdiffstats
path: root/configparser_api_changes.patch
diff options
context:
space:
mode:
authorFrederic Bezies2016-01-06 22:16:18 +0100
committerFrederic Bezies2016-01-06 22:16:18 +0100
commit8e9feb7882f9e52014c6de9496f0f1b6208df480 (patch)
tree65e458a94fa4444a241984f4736836f38225f449 /configparser_api_changes.patch
parentca5e02361b00091ef43483c61c60a55251359c97 (diff)
downloadaur-8e9feb7882f9e52014c6de9496f0f1b6208df480.tar.gz
Adding bugfix for bug #1500083
Diffstat (limited to 'configparser_api_changes.patch')
-rw-r--r--configparser_api_changes.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/configparser_api_changes.patch b/configparser_api_changes.patch
new file mode 100644
index 000000000000..04b46d9b8f21
--- /dev/null
+++ b/configparser_api_changes.patch
@@ -0,0 +1,21 @@
+From: Andrew Starr-Bochicchio <asb@debian.org>
+Subject: Update for changes in ConfigParser api.
+Bug: https://bugs.launchpad.net/kazam/+bug/1500083
+
+Index: kazam/kazam/backend/config.py
+===================================================================
+--- kazam.orig/kazam/backend/config.py 2013-03-13 20:25:20.917993000 -0400
++++ kazam/kazam/backend/config.py 2015-10-12 21:25:30.355157111 -0400
+@@ -98,9 +98,10 @@
+ if d_key == key:
+ return d_section["keys"][key]
+
+- def get(self, section, key):
++ def get(self, section, key, raw=True, fallback=None):
+ try:
+- return ConfigParser.get(self, section, key)
++ return super(KazamConfig, self).get(section,
++ key, raw=True, fallback=fallback)
+ except NoSectionError:
+ default = self.find_default(section, key)
+ self.set(section, key, default)