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
02e141e41da2
Commit
d479a835
authored
Sep 16, 2011
by
Sylvain Thénault
Browse files
some minor cleanups
parent
d0bf71aff4a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
entity.py
View file @
02e141e4
...
...
@@ -269,7 +269,7 @@ class Entity(AppObject):
if
len
(
targettypes
)
>
1
:
# find fetch_attrs common to all destination types
fetchattrs
=
vreg
[
'etypes'
].
fetch_attrs
(
targettypes
)
# .. and handle ambiguous relations
# ..
.
and handle ambiguous relations
cls
.
_fetch_ambiguous_rtypes
(
select
,
var
,
fetchattrs
,
targettypes
,
vreg
.
schema
)
else
:
...
...
web/test/unittest_urlrewrite.py
View file @
02e141e4
# copyright 2003-201
0
LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# copyright 2003-201
1
LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
...
...
@@ -15,9 +15,6 @@
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""
"""
from
logilab.common.testlib
import
TestCase
,
unittest_main
from
cubicweb.devtools.testlib
import
CubicWebTC
...
...
Write
Preview
Supports
Markdown
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