Commit 8acd911a authored by Thierry's avatar Thierry

*** empty log message ***


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@556 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9031b652
......@@ -40,10 +40,10 @@ def getTailleClient(self) :
morpho_type = None
if resource_value is None:
if not taille in (None,'',' ') :
if taille is not None :
return taille.split('/')[-1]
else :
return taille
return ''
else :
correspondance_taille = resource_value.getSpecialiseValue(portal_type=['Correspondance Tailles'])
predicate_value = []
......@@ -70,18 +70,18 @@ def getTailleClient(self) :
new_key = tuple([resource] + predicate_value)
taille_client[new_key] = cell.getProperty(key='taille_client')
else :
if not taille in (None,'',' ') :
if taille is not None :
return taille.split('/')[-1]
else :
return taille
return ''
if taille_client.has_key(key):
return taille_client[key]
if not taille in (None,'',' ') :
if taille is not None :
return taille.split('/')[-1]
else :
return taille
return ''
def getTailleClientKeyList():
return str(taille_client.keys())
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