summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
Diffstat (limited to 'error.py')
-rw-r--r--error.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.py b/error.py
index 48e3189c..783ab7d2 100644
--- a/error.py
+++ b/error.py
@@ -85,8 +85,8 @@ class RepoChangedException(Exception):
85 repo or manifest repositories. In this special case we must 85 repo or manifest repositories. In this special case we must
86 use exec to re-execute repo with the new code and manifest. 86 use exec to re-execute repo with the new code and manifest.
87 """ 87 """
88 def __init__(self, extra_args=[]): 88 def __init__(self, extra_args=None):
89 self.extra_args = extra_args 89 self.extra_args = extra_args or []
90 90
91class HookError(Exception): 91class HookError(Exception):
92 """Thrown if a 'repo-hook' could not be run. 92 """Thrown if a 'repo-hook' could not be run.