We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e352af commit ecabf53Copy full SHA for ecabf53
pavement.py
@@ -29,7 +29,7 @@ def win(quiet=True):
29
def upload(quiet=False):
30
""" Uploads the latest distribution to pypi. """
31
32
- lib = file(os.path.join("petlib", "__init__.py")).read()
+ lib = open(os.path.join("petlib", "__init__.py")).read()
33
v = re.findall("VERSION.*=.*['\"](.*)['\"]", lib)[0]
34
35
tell("upload dist %s" % v)
0 commit comments