Commit 244f0233 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not call getRelativeUrl() if movement is already a str.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33956 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 921cc559
...@@ -114,7 +114,10 @@ class SolverTypeInformation(ERP5TypeInformation): ...@@ -114,7 +114,10 @@ class SolverTypeInformation(ERP5TypeInformation):
if self.isLineGroupable(): if self.isLineGroupable():
return () return ()
return movement.getRelativeUrl() if isinstance(movement, str):
return movement
else:
return movement.getRelativeUrl()
def getDefaultConfigurationPropertyDict(self, configurable): def getDefaultConfigurationPropertyDict(self, configurable):
""" """
......
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