#NEWLINE# def _run_hooks( repo_hooks , args , write , environ ) : #NEWLINE# #INDENT# 'Actually run the hooks.' #NEWLINE# skips = _get_skips ( environ ) #NEWLINE# retval = 0 #NEWLINE# for ( repo , hook ) in repo_hooks : #NEWLINE# #INDENT# retval |= _run_single_hook ( hook , repo , args , write , skips ) #NEWLINE# #UNINDENT# return retval