Commit 848f21e2 authored by Adrien Di Mascio's avatar Adrien Di Mascio

use cubicweb.predicates instead of deprecated cubicweb.selectors (closes #3603309)

parent 3398c0a8cb25
......@@ -13,7 +13,7 @@ author_email = 'contact@logilab.fr'
description = 'cubicweb integrated awstats frontend'
web = 'http://www.cubicweb.org/project/%s' % distname
__depends__ = {'cubicweb': '>= 3.12.2',}
__depends__ = {'cubicweb': '>= 3.15.0',}
__recommends__ = {'cubicweb-raphael': None,}
classifiers = [
......
......@@ -10,7 +10,7 @@ Homepage: http://www.cubicweb.org/project/awstats
Package: cubicweb-awstats
Architecture: all
Depends: cubicweb-common (>= 3.12.2)
Depends: cubicweb-common (>= 3.15.0)
Recommends: cubicweb-raphael
Description: cubicweb integrated awstats frontend
CubicWeb is a semantic web application framework.
......
......@@ -15,7 +15,7 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
from cubicweb.web import action
from cubicweb.selectors import match_user_groups
from cubicweb.predicates import match_user_groups
class AwstatsAccessAction(action.Action):
__regid__ = 'awstats-action'
......
......@@ -16,11 +16,12 @@
"""cubicweb-awstats views/forms/actions/components for web ui"""
from logilab.mtconverter import xml_escape
from cubicweb.utils import RepeatList
from cubicweb.view import EntityView
from cubicweb.web.views import primary, navigation
from cubicweb.selectors import is_instance
from logilab.mtconverter import xml_escape
from cubicweb.predicates import is_instance
class StatPeriodPrimaryView(primary.PrimaryView):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment