Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
232eefd6d3b3
Commit
7a7bd34a
authored
Apr 12, 2017
by
Denis Laxalde
Browse files
[server] Deprecate Repository.sources_by_eid
It's not used anymore within cubicweb itself. --HG-- branch : 3.25
parent
d540defa0591
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb/server/repository.py
View file @
232eefd6
...
...
@@ -324,6 +324,7 @@ class Repository(object):
return
mapping
@
property
@
deprecated
(
"[3.25] use source_by_eid(<eid>)"
)
def
sources_by_eid
(
self
):
mapping
=
{
self
.
system_source
.
eid
:
self
.
system_source
}
mapping
.
update
((
sourceent
.
eid
,
source
)
...
...
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