diff options
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', |