mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-27 09:34:42 +00:00
Use Python 3.7 subprocess.run() arguments
This commit is contained in:
parent
819dacb9bb
commit
243d91cc4c
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -93,7 +93,7 @@ def get_release_date(for_sdist=False):
|
|||
try:
|
||||
# need git >= 2.25.0 for %cs
|
||||
cp = subprocess.run(["git", "log", "-n 1", "HEAD", "--format=%cI"],
|
||||
stdout=subprocess.PIPE, universal_newlines=True)
|
||||
capture_output=True, text=True)
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
if cp and cp.stdout:
|
||||
|
|
|
|||
Loading…
Reference in a new issue