mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 16:54:12 +00:00
topotests: module_present should return a True/False
The recent change to module_present accidently didn't return anything. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
4870191362
commit
28440fd9f8
@ -357,9 +357,9 @@ def module_present_freebsd(module, load):
|
||||
|
||||
def module_present(module, load=True):
|
||||
if sys.platform.startswith("linux"):
|
||||
module_present_linux(module, load)
|
||||
return module_present_linux(module, load)
|
||||
elif sys.platform.startswith("freebsd"):
|
||||
module_present_freebsd(module, load)
|
||||
return module_present_freebsd(module, load)
|
||||
|
||||
def version_cmp(v1, v2):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user