def load_commitmsg():
 filename = qtutils.open_file(N_(u'Load Commit Message'), directory=main.model().getcwd())
 if filename:
  cmds.do(cmds.LoadCommitMessageFromFile, filename)

def load_commitmsg ( ) : filename = qtutils . open_file ( N_ ( u'Load Commit Message' ) , directory = main . model ( ) . getcwd ( ) ) if filename : cmds . do ( cmds . LoadCommitMessageFromFile , filename )
load a commit message from a file .