Skip to content

Commit ecabf53

Browse files
committedJan 5, 2018
Fix pavement script for python 3
1 parent 9e352af commit ecabf53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pavement.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def win(quiet=True):
2929
def upload(quiet=False):
3030
""" Uploads the latest distribution to pypi. """
3131

32-
lib = file(os.path.join("petlib", "__init__.py")).read()
32+
lib = open(os.path.join("petlib", "__init__.py")).read()
3333
v = re.findall("VERSION.*=.*['\"](.*)['\"]", lib)[0]
3434

3535
tell("upload dist %s" % v)

0 commit comments

Comments
 (0)
Please sign in to comment.