Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
forgotpwd
Commits
1917bc20620c
Commit
0b4397e4
authored
Aug 05, 2015
by
Julien Cristau
Browse files
[hooks] use cubicweb.predicates instead of cubicweb.selectors
Renamed in 3.15
parent
a7c6452d19ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
hooks.py
View file @
1917bc20
...
@@ -8,7 +8,7 @@ from datetime import datetime, timedelta
...
@@ -8,7 +8,7 @@ from datetime import datetime, timedelta
from
logilab.common.decorators
import
monkeypatch
from
logilab.common.decorators
import
monkeypatch
from
yams
import
ValidationError
from
yams
import
ValidationError
from
cubicweb.
selector
s
import
is_instance
from
cubicweb.
predicate
s
import
is_instance
from
cubicweb.crypto
import
encrypt
from
cubicweb.crypto
import
encrypt
from
cubicweb.server
import
hook
from
cubicweb.server
import
hook
from
cubicweb.server.repository
import
Repository
from
cubicweb.server.repository
import
Repository
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment