FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Upgrade Python syntax with pyupgrade --py37-plus · gitpython-developers/GitPython@496c69c · GitHub

Repository navigation

Commit 496c69c

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎setup.py‎

Lines changed: 1 addition & 1 deletion
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)

Back | FazBrowse Home | New Git URL