Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe3400b

Browse files
committed
fix version replacement insetup.py (gitpython-developers#1500)
It would fail to perform the replacement, but unfortunately wouldn'tstop the release process.The latter could be done, but isn't implemented either as it's hardto test given everything is runtime.
1 parentdc140c0 commitbe3400b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _stamp_version(filename: str) -> None:
4747
withopen(filename,"r")asf:
4848
forlineinf:
4949
if"__version__ ="inline:
50-
line=line.replace("'git'","'%s'"%VERSION)
50+
line=line.replace("\"git\"","'%s'"%VERSION)
5151
found=True
5252
out.append(line)
5353
exceptOSError:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp