|
@@ -1,4 +1,5 @@
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -20,7 +21,6 @@
|
|
|
import os
|
|
|
import subprocess
|
|
|
import tempfile
|
|
|
-import warnings
|
|
|
|
|
|
from dulwich.errors import (
|
|
|
HookError,
|
|
@@ -30,7 +30,7 @@ from dulwich.errors import (
|
|
|
class Hook(object):
|
|
|
"""Generic hook object."""
|
|
|
|
|
|
- def execute(elf, *args):
|
|
|
+ def execute(self, *args):
|
|
|
"""Execute the hook with the given args
|
|
|
|
|
|
:param args: argument list to hook
|