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
acdba524bb8f
Commit
4241a9d5
authored
Oct 15, 2009
by
Sylvain Thénault
Browse files
fix i18ncube
parent
fa170564e1a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
devtools/devctl.py
View file @
acdba524
...
...
@@ -219,10 +219,14 @@ def _iter_vreg_objids(vreg, done, prefix=None):
for
reg
,
objdict
in
vreg
.
items
():
for
objects
in
objdict
.
values
():
for
obj
in
objects
:
objid
=
'%s_%s'
%
(
reg
,
obj
.
id
)
objid
=
'%s_%s'
%
(
reg
,
obj
.
__regid__
)
if
objid
in
done
:
break
if
obj
.
cw_property_defs
:
try
:
# XXX < 3.6 bw compat
pdefs
=
obj
.
property_defs
except
AttributeError
:
pdefs
=
getattr
(
obj
,
'cw_property_defs'
,
{})
if
pdefs
:
yield
objid
done
.
add
(
objid
)
break
...
...
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