def _CreateDbOperationMap(entry_list):
 map = dict()
 for entry in entry_list:
  handler = entry.handler
  method_str = ((handler.im_self.__name__ + '.') + handler.im_func.__name__)
  map[method_str] = entry
 return map

def _CreateDbOperationMap ( entry_list ) : map = dict ( ) for entry in entry_list : handler = entry . handler method_str = ( ( handler . im_self . __name__ + '.' ) + handler . im_func . __name__ ) map [ method_str ] = entry return map
create an operation map from a list of opmapentry objects .