def convert_integer_to_method_list(method_int):
 if (method_int == 0):
  return []
 method_map = construct_method_map_from_config()
 method_ints = []
 for (k, v) in method_map.items():
  method_ints.append(k)
 method_ints.sort(reverse=True)
 confirmed_methods = []
 for m_int in method_ints:
  if ((method_int / m_int) == 1):
   confirmed_methods.append(m_int)
   method_int = (method_int - m_int)
 methods = []
 for method in confirmed_methods:
  methods.append(method_map[method])
 return methods

def convert_integer_to_method_list ( method_int ) : if ( method_int == 0 ) : return [ ] method_map = construct_method_map_from_config ( ) method_ints = [ ] for ( k , v ) in method_map . items ( ) : method_ints . append ( k ) method_ints . sort ( reverse = True ) confirmed_methods = [ ] for m_int in method_ints : if ( ( method_int / m_int ) == 1 ) : confirmed_methods . append ( m_int ) method_int = ( method_int - m_int ) methods = [ ] for method in confirmed_methods : methods . append ( method_map [ method ] ) return methods
convert an integer to a list of methods .