Skip to content

Commit 496c69c

Browse files
committed
Upgrade Python syntax with pyupgrade --py37-plus
1 parent 6666337 commit 496c69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def make_release_tree(self, base_dir: str, files: Sequence) -> None:
4444
def _stamp_version(filename: str) -> None:
4545
found, out = False, []
4646
try:
47-
with open(filename, "r") as f:
47+
with open(filename) as f:
4848
for line in f:
4949
if "__version__ =" in line:
5050
line = line.replace("\"git\"", "'%s'" % VERSION)

0 commit comments

Comments
 (0)