Merge pull request #339 from nanonyme/patch-1

Drop usage of obsolete function "file"
This commit is contained in:
Maximilian Hils 2014-08-29 23:38:18 +02:00
commit 12ff4a7d2b
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ def findPackages(path, dataExclude=[]):
package_data[module] = acc
return packages, package_data
long_description = file(os.path.join(pdir(), "README.txt")).read()
with open(os.path.join(pdir(), "README.txt")) as f:
long_description = f.read()
packages, package_data = findPackages("libmproxy")
setup(
name = "mitmproxy",