diff options
Diffstat (limited to 'error.py')
-rw-r--r-- | error.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
91 | class HookError(Exception): | 91 | class HookError(Exception): |
92 | """Thrown if a 'repo-hook' could not be run. | 92 | """Thrown if a 'repo-hook' could not be run. |