def merge_message_path():
 for basename in (u'MERGE_MSG', u'SQUASH_MSG'):
  path = git.git_path(basename)
  if core.exists(path):
   return path
 return None

def merge_message_path ( ) : for basename in ( u'MERGE_MSG' , u'SQUASH_MSG' ) : path = git . git_path ( basename ) if core . exists ( path ) : return path return None
return the path to .