summaryrefslogtreecommitdiffstats
path: root/subcmds/manifest.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/manifest.py')
-rw-r--r--subcmds/manifest.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/subcmds/manifest.py b/subcmds/manifest.py
index 768f072e..9c1b3f0c 100644
--- a/subcmds/manifest.py
+++ b/subcmds/manifest.py
@@ -40,10 +40,9 @@ in a Git repository for use during future 'repo init' invocations.
40 helptext = self._helpDescription + '\n' 40 helptext = self._helpDescription + '\n'
41 r = os.path.dirname(__file__) 41 r = os.path.dirname(__file__)
42 r = os.path.dirname(r) 42 r = os.path.dirname(r)
43 fd = open(os.path.join(r, 'docs', 'manifest-format.md')) 43 with open(os.path.join(r, 'docs', 'manifest-format.md')) as fd:
44 for line in fd: 44 for line in fd:
45 helptext += line 45 helptext += line
46 fd.close()
47 return helptext 46 return helptext
48 47
49 def _Options(self, p): 48 def _Options(self, p):