Commit 6c1432b7 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not mask tuple.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5664 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 38a00dd9
No related merge requests found
...@@ -203,7 +203,7 @@ def pathToUid(list): ...@@ -203,7 +203,7 @@ def pathToUid(list):
pass pass
# Path # Path
def getPath(object_or_path,tuple=0): def getPath(object_or_path, **kw):
""" """
Returns the absolute path of an object Returns the absolute path of an object
""" """
...@@ -214,7 +214,7 @@ def getPath(object_or_path,tuple=0): ...@@ -214,7 +214,7 @@ def getPath(object_or_path,tuple=0):
else: else:
path = object_or_path.getPhysicalPath() path = object_or_path.getPhysicalPath()
path = '/'.join(path) path = '/'.join(path)
if tuple: if kw.get('tuple'):
return path.split('/') return path.split('/')
return path return path
......
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