--- a/web/views/urlrewrite.py Tue Feb 17 22:25:16 2009 +0100
+++ b/web/views/urlrewrite.py Tue Feb 17 22:43:59 2009 +0100
@@ -6,8 +6,6 @@
"""
import re
-from cubicweb.vregistry import autoselectors
-
from cubicweb.common.registerers import accepts_registerer
from cubicweb.common.appobject import AppObject
@@ -16,7 +14,7 @@
"""this is just a convenient shortcout to add the $ sign"""
return re.compile(pattern+'$', flags)
-class metarewriter(autoselectors):
+class metarewriter(type):
"""auto-extend rules dictionnary"""
def __new__(mcs, name, bases, classdict):
# collect baseclass' rules