diff MoinMoin/config/multiconfig.py @ 1557:60067807cf9a

Allow empty strings for ua_spiders.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Mon, 18 Sep 2006 00:15:35 +0200
parents 0eaaba71dfc0
children 1453513eaa7e
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Sun Sep 17 23:57:49 2006 +0200
+++ b/MoinMoin/config/multiconfig.py	Mon Sep 18 00:15:35 2006 +0200
@@ -551,7 +551,7 @@
         self.cache.page_dict_regex = re.compile(self.page_dict_regex, re.UNICODE)
         self.cache.page_group_regex = re.compile(self.page_group_regex, re.UNICODE)
         self.cache.page_template_regex = re.compile(self.page_template_regex, re.UNICODE)
-        self.cache.ua_spiders = re.compile(self.ua_spiders, re.I)
+        self.cache.ua_spiders = self.ua_spiders and re.compile(self.ua_spiders, re.I)
 
         self._check_directories()