]> granicus.if.org Git - python/commitdiff
Close manifest file.
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 21 Feb 2008 14:23:38 +0000 (14:23 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 21 Feb 2008 14:23:38 +0000 (14:23 +0000)
This change doesn't make any difference to CPython, but is a necessary fix for Jython.

Lib/distutils/command/sdist.py

index 3dfe6f21a7bb8a38d32790f4fbda8565fd52891a..a06b1953b45b9ca25f918788924d4dede211b956 100644 (file)
@@ -383,6 +383,7 @@ class sdist (Command):
             if line[-1] == '\n':
                 line = line[0:-1]
             self.filelist.append(line)
+        manifest.close()
 
     # read_manifest ()