changeset 1575:45f876b6a109

raise NoConfigMatchedError
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 18 Sep 2006 22:19:49 +0200
parents 7a5aa14c6c00
children 1219de921010
files MoinMoin/config/multiconfig.py
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
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):