update import tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 17 Feb 2009 17:45:57 +0100
branchtls-sprint
changeset 680 99d0b471cc0c
parent 679 d70fb8c9e369
child 681 7cb402fa3958
update import
web/views/euser.py
web/views/magicsearch.py
--- a/web/views/euser.py	Tue Feb 17 17:31:16 2009 +0100
+++ b/web/views/euser.py	Tue Feb 17 17:45:57 2009 +0100
@@ -19,8 +19,7 @@
 
 class UserPreferencesEntityAction(Action):
     id = 'prefs'
-    __selectors__ = (one_line_rset,
-                     implements('EUser'),
+    __selectors__ = (one_line_rset, implements('EUser'),
                      match_user_groups('owners', 'managers'))
     
     title = _('preferences')
--- a/web/views/magicsearch.py	Tue Feb 17 17:31:16 2009 +0100
+++ b/web/views/magicsearch.py	Tue Feb 17 17:45:57 2009 +0100
@@ -2,7 +2,7 @@
 
 
 :organization: Logilab
-:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 
@@ -15,7 +15,7 @@
 from rql.nodes import Relation
 
 from cubicweb import Unauthorized
-from cubicweb.common.appobject import Component
+from cubicweb.common.view import Component
 
 LOGGER = getLogger('cubicweb.magicsearch')