Permalink
Browse files

Merge pull request #129 from cbrueffer/pdblist

Fix for Bug 3382
  • Loading branch information...
mdehoon committed Dec 13, 2012
2 parents 7ed06de + f916e14 commit 87da0720d3c328138be62a2e7a8e9183e43ed606
Showing with 1 addition and 1 deletion.
  1. +1 −1 Bio/PDB/PDBList.py
View
@@ -243,7 +243,7 @@ def retrieve_pdb_file(self,pdb_code, obsolete=0, compression=None,
# Uncompress the file
gz = gzip.open(filename, 'rb')
out = open(final_file, 'wb')
- out.writelines(gz.read())
+ out.writelines(gz)
gz.close()
out.close()
os.remove(filename)

0 comments on commit 87da072

Please sign in to comment.