def RunHook(self, committing, may_prompt, verbose, change):
    'Calls sys.exit() if the hook fails; returns a HookResults otherwise.'
    try:
        return presubmit_support.DoPresubmitChecks(change, committing, verbose=verbose, output_stream=sys.stdout, input_stream=sys.stdin, default_presubmit=None, may_prompt=may_prompt, rietveld_obj=self._codereview_impl.GetRieveldObjForPresubmit(), gerrit_obj=self._codereview_impl.GetGerritObjForPresubmit())
    except presubmit_support.PresubmitFailure as e:
        DieWithError(('%s\nMaybe your depot_tools is out of date?\nIf all fails, contact maruel@' % e))
Calls sys.exit() if the hook fails; returns a HookResults otherwise.
def RunHook(self, committing, may_prompt, verbose, change):
    
    try:
        return presubmit_support.DoPresubmitChecks(change, committing, verbose=verbose, output_stream=sys.stdout, input_stream=sys.stdin, default_presubmit=None, may_prompt=may_prompt, rietveld_obj=self._codereview_impl.GetRieveldObjForPresubmit(), gerrit_obj=self._codereview_impl.GetGerritObjForPresubmit())
    except presubmit_support.PresubmitFailure as e:
        DieWithError(('%s\nMaybe your depot_tools is out of date?\nIf all fails, contact maruel@' % e))