diff options
author | Conley Owens <cco3@android.com> | 2012-10-09 14:29:46 -0700 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-10-09 14:29:46 -0700 |
commit | 3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63 (patch) | |
tree | 68ae5094d6530453887fb35a73fd5fa55f55a034 /error.py | |
parent | 25f17682ca4ecd8acc887462d4bebc7c429cf110 (diff) | |
parent | 8a68ff96057ec58e524a3e41a2d8dca7b5d016bc (diff) | |
download | git-repo-3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63.tar.gz |
Merge "Coding style cleanup"
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. |