diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-01-15 22:46:53 +0200 |
---|---|---|
committer | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-01-15 22:46:53 +0200 |
commit | 496c69c5328b366ff3b86e25652683e528eec034 (patch) | |
tree | 415ccfd1a0dcc89aeade13a42005ed3f0a866420 /setup.py | |
parent | 666633720e59c0af65acc36e89c5d2f83d8f8d80 (diff) | |
download | gitpython-496c69c5328b366ff3b86e25652683e528eec034.tar.gz |
Upgrade Python syntax with pyupgrade --py37-plus
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ class sdist(_sdist): def _stamp_version(filename: str) -> None: found, out = False, [] try: - with open(filename, "r") as f: + with open(filename) as f: for line in f: if "__version__ =" in line: line = line.replace("\"git\"", "'%s'" % VERSION) |