class documentation

class Hook(object):

Known subclasses: dulwich.hooks.ShellHook

View In Hierarchy

Generic hook object.

Method execute Execute the hook with the given args
def execute(self, *args):

Execute the hook with the given args

Parameters
*argsargument list to hook
Returns
a hook may return a useful value
Raises
HookErrorhook execution failure