web/views/urlrewrite.py
branchtls-sprint
changeset 712 ce49e3885453
parent 688 cddfbdee0eb3
child 722 50a99184cf47
--- 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