1 |
commit: 75ad7fc29bf03e7cb8576e0bacc5ff1980b38bf0 |
2 |
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 3 14:17:46 2014 +0000 |
4 |
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 3 14:17:46 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mschiff.git;a=commit;h=75ad7fc2 |
7 |
|
8 |
add missing files |
9 |
|
10 |
--- |
11 |
.../files/automx-add-missing-memcache-exception.patch | 14 ++++++++++++++ |
12 |
1 file changed, 14 insertions(+) |
13 |
|
14 |
diff --git a/net-mail/automx/files/automx-add-missing-memcache-exception.patch b/net-mail/automx/files/automx-add-missing-memcache-exception.patch |
15 |
new file mode 100644 |
16 |
index 0000000..bd6f704 |
17 |
--- /dev/null |
18 |
+++ b/net-mail/automx/files/automx-add-missing-memcache-exception.patch |
19 |
@@ -0,0 +1,14 @@ |
20 |
+diff --git a/src/automx/config.py b/src/automx/config.py |
21 |
+index 4839b17..0d77595 100644 |
22 |
+--- a/src/automx/config.py |
23 |
++++ b/src/automx/config.py |
24 |
+@@ -849,6 +849,9 @@ class Memcache(object): |
25 |
+ except ValueError, e: |
26 |
+ logging.warning("Memcache misconfigured: ", e) |
27 |
+ self.__has_memcache = False |
28 |
++ except NoOptionError: |
29 |
++ logging.warning("Not using Memcache") |
30 |
++ self.__has_memcache = False |
31 |
+ |
32 |
+ def counter(self): |
33 |
+ return self.__current |