HalStyle.py 259 Bytes
Newer Older
Romain Courteaud's avatar
Romain Courteaud committed
1 2 3 4 5 6 7 8 9 10
def Listbox_getListMethodName(self, field):
  """ XXXX"""
  list_method = field.get_value('list_method')
  try:
    list_method_name = getattr(list_method, 'method_name')
  except AttributeError:
    list_method_name = list_method

  return list_method_name