mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 22:58:58 +00:00
trivial: Use __version__ to fix new versions of python-markdown
This commit is contained in:
parent
fd458cd0de
commit
f532d81da9
@ -7,7 +7,7 @@ import markdown
|
||||
from packaging.version import Version
|
||||
|
||||
# https://github.com/fwupd/fwupd/pull/3337#issuecomment-858947695
|
||||
if Version(markdown.version) < Version("3.3.3"):
|
||||
if Version(markdown.__version__) < Version("3.3.3"):
|
||||
print("python3-markdown version 3.3.3 required for gi-docgen")
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user