update some imports tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 17 Feb 2009 23:40:30 +0100
branchtls-sprint
changeset 722 50a99184cf47
parent 721 f76e89b52553
child 723 1f551018fdfb
update some imports
server/hooksmanager.py
web/action.py
web/controller.py
web/facet.py
web/views/urlrewrite.py
--- a/server/hooksmanager.py	Tue Feb 17 23:34:17 2009 +0100
+++ b/server/hooksmanager.py	Tue Feb 17 23:40:30 2009 +0100
@@ -181,7 +181,7 @@
 #         self.register_hook(tidy_html_fields('before_update_entity'), 'before_update_entity', '')
             
 from cubicweb.selectors import yes
-from cubicweb.common.appobject import AppObject
+from cubicweb.appobject import AppObject
 
 class autoid(type):
     """metaclass to create an unique 'id' attribute on the class using it"""
--- a/web/action.py	Tue Feb 17 23:34:17 2009 +0100
+++ b/web/action.py	Tue Feb 17 23:40:30 2009 +0100
@@ -10,7 +10,7 @@
 from cubicweb.selectors import (relation_possible, match_search_state,
                                 one_line_rset, may_add_relation, yes,
                                 accepts_compat, condition_compat, deprecate)
-from cubicweb.common.appobject import AppRsetObject
+from cubicweb.appobject import AppRsetObject
 from cubicweb.common.registerers import accepts_registerer
 
 _ = unicode
--- a/web/controller.py	Tue Feb 17 23:34:17 2009 +0100
+++ b/web/controller.py	Tue Feb 17 23:40:30 2009 +0100
@@ -12,7 +12,7 @@
 from cubicweb import typed_eid
 from cubicweb.common.registerers import priority_registerer
 from cubicweb.selectors import yes, require_group_compat
-from cubicweb.common.appobject import AppObject
+from cubicweb.appobject import AppObject
 from cubicweb.web import LOGGER, Redirect, RequestError
 
 
--- a/web/facet.py	Tue Feb 17 23:34:17 2009 +0100
+++ b/web/facet.py	Tue Feb 17 23:40:30 2009 +0100
@@ -20,9 +20,8 @@
 
 from cubicweb import Unauthorized, typed_eid
 from cubicweb.selectors import match_context_prop, one_has_relation
+from cubicweb.appobject import AppRsetObject
 from cubicweb.common.registerers import priority_registerer
-from cubicweb.common.appobject import AppRsetObject
-from cubicweb.common.utils import AcceptMixIn
 from cubicweb.web.htmlwidgets import HTMLWidget
 
 ## rqlst manipulation functions used by facets ################################
@@ -234,7 +233,7 @@
 
 
 ## base facet classes #########################################################
-class AbstractFacet(AcceptMixIn, AppRsetObject):
+class AbstractFacet(AppRsetObject):
     __registerer__ = priority_registerer
     __abstract__ = True
     __registry__ = 'facets'
--- a/web/views/urlrewrite.py	Tue Feb 17 23:34:17 2009 +0100
+++ b/web/views/urlrewrite.py	Tue Feb 17 23:40:30 2009 +0100
@@ -1,13 +1,13 @@
 """Rules based url rewriter component, to get configurable RESTful urls
 
 :organization: Logilab
-:copyright: 2007-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 import re
 
+from cubicweb.appobject import AppObject
 from cubicweb.common.registerers import accepts_registerer
-from cubicweb.common.appobject import AppObject
 
 
 def rgx(pattern, flags=0):