mirror of
https://github.com/verilator/verilator.git
synced 2025-01-08 15:47:36 +00:00
Apply 'make format'
This commit is contained in:
parent
bc6a7787ed
commit
3f4b7af8a1
@ -23,7 +23,8 @@ def get_vlt_version():
|
|||||||
filename = "../../Makefile"
|
filename = "../../Makefile"
|
||||||
with open(filename, "r", encoding="utf8") as fh:
|
with open(filename, "r", encoding="utf8") as fh:
|
||||||
for line in fh:
|
for line in fh:
|
||||||
match = re.search(r"PACKAGE_VERSION *= *([a-z0-9.]+) +([-0-9]+)", line)
|
match = re.search(r"PACKAGE_VERSION *= *([a-z0-9.]+) +([-0-9]+)",
|
||||||
|
line)
|
||||||
if match:
|
if match:
|
||||||
return match.group(1), match.group(2)
|
return match.group(1), match.group(2)
|
||||||
match = re.search(r"PACKAGE_VERSION *= *([a-z0-9.]+) +devel", line)
|
match = re.search(r"PACKAGE_VERSION *= *([a-z0-9.]+) +devel", line)
|
||||||
|
Loading…
Reference in New Issue
Block a user