__author__ = "Alfonso Tierno"
min_RO_version = [0, 5, 72]
min_n2vc_version = "0.0.2"
__author__ = "Alfonso Tierno"
min_RO_version = [0, 5, 72]
min_n2vc_version = "0.0.2"
raise LcmException("Not compatible osm/N2VC version '{}'. Needed '{}' or higher".format(
n2vc_version, min_n2vc_version))
# check version of common
raise LcmException("Not compatible osm/N2VC version '{}'. Needed '{}' or higher".format(
n2vc_version, min_n2vc_version))
# check version of common
raise LcmException("Not compatible osm/common version '{}'. Needed '{}' or higher".format(
common_version, min_common_version))
raise LcmException("Not compatible osm/common version '{}'. Needed '{}' or higher".format(
common_version, min_common_version))
assert False, "Unhandled option"
if config_file:
if not path.isfile(config_file):
assert False, "Unhandled option"
if config_file:
if not path.isfile(config_file):
exit(1)
else:
for config_file in (__file__[:__file__.rfind(".")] + ".cfg", "./lcm.cfg", "/etc/osm/lcm.cfg"):
if path.isfile(config_file):
break
else:
exit(1)
else:
for config_file in (__file__[:__file__.rfind(".")] + ".cfg", "./lcm.cfg", "/etc/osm/lcm.cfg"):
if path.isfile(config_file):
break
else: