diff MoinMoin/config/multiconfig.py @ 1575:45f876b6a109

raise NoConfigMatchedError
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 18 Sep 2006 22:19:49 +0200
parents 1453513eaa7e
children f37b49b6313d
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Mon Sep 18 22:01:44 2006 +0200
+++ b/MoinMoin/config/multiconfig.py	Mon Sep 18 22:19:49 2006 +0200
@@ -147,16 +147,7 @@
         match = regex.match(url)
         if match:
             return name
-    # nothing matched
-    msg = '''
-Could not find a match for url: "%(url)s".
-
-Check your URL regular expressions in the "wikis" list in
-"farmconfig.py". 
-''' % {
-    'url': url,
-}
-    raise error.ConfigurationError(msg)
+    raise error.NoConfigMatchedError
 
 
 def getConfig(url):