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 /subcmds/manifest.py | |
| parent | 25f17682ca4ecd8acc887462d4bebc7c429cf110 (diff) | |
| parent | 8a68ff96057ec58e524a3e41a2d8dca7b5d016bc (diff) | |
| download | git-repo-3a6cd4200e42fbb5a21b3fb8d3c9738c0320cc63.tar.gz | |
Merge "Coding style cleanup"
Diffstat (limited to 'subcmds/manifest.py')
| -rw-r--r-- | subcmds/manifest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/manifest.py b/subcmds/manifest.py index 43887654..5592a37d 100644 --- a/subcmds/manifest.py +++ b/subcmds/manifest.py | |||
| @@ -35,14 +35,14 @@ in a Git repository for use during future 'repo init' invocations. | |||
| 35 | 35 | ||
| 36 | @property | 36 | @property |
| 37 | def helpDescription(self): | 37 | def helpDescription(self): |
| 38 | help = self._helpDescription + '\n' | 38 | helptext = self._helpDescription + '\n' |
| 39 | r = os.path.dirname(__file__) | 39 | r = os.path.dirname(__file__) |
| 40 | r = os.path.dirname(r) | 40 | r = os.path.dirname(r) |
| 41 | fd = open(os.path.join(r, 'docs', 'manifest-format.txt')) | 41 | fd = open(os.path.join(r, 'docs', 'manifest-format.txt')) |
| 42 | for line in fd: | 42 | for line in fd: |
| 43 | help += line | 43 | helptext += line |
| 44 | fd.close() | 44 | fd.close() |
| 45 | return help | 45 | return helptext |
| 46 | 46 | ||
| 47 | def _Options(self, p): | 47 | def _Options(self, p): |
| 48 | p.add_option('-r', '--revision-as-HEAD', | 48 | p.add_option('-r', '--revision-as-HEAD', |
