summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-10-09 14:29:46 -0700
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-10-09 14:29:46 -0700
commit3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63 (patch)
tree68ae5094d6530453887fb35a73fd5fa55f55a034 /error.py
parent25f17682ca4ecd8acc887462d4bebc7c429cf110 (diff)
parent8a68ff96057ec58e524a3e41a2d8dca7b5d016bc (diff)
downloadgit-repo-3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63.tar.gz
Merge "Coding style cleanup"
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.