Source

distribute / setuptools / package_index.py

The branch 'setuptools-0.6' does not exist.
Diff from to

File setuptools/package_index.py

         files = []
         for f in os.listdir(filename):
             if f=='index.html':
-                body = open(os.path.join(filename,f),'rb').read()
+                fp = open(os.path.join(filename,f),'rb')
+                body = fp.read()
+                fp.close()
                 break
             elif os.path.isdir(os.path.join(filename,f)):
                 f+='/'