mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 21:30:48 +00:00
trivial: show a better error why docs fails if markdown not installed
We require at least 3.3.3, but if they don't have anything at least show a message.
This commit is contained in:
parent
330a67b5fe
commit
f6fddc1470
@ -2,7 +2,12 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1+
|
||||
|
||||
import sys
|
||||
import markdown
|
||||
|
||||
try:
|
||||
import markdown
|
||||
except ImportError:
|
||||
print("Missing 'markdown' python module")
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
from packaging.version import Version
|
||||
|
Loading…
Reference in New Issue
Block a user