def check_installed_packages():
logger.debug("Gathering napalm packages")
installed_packages = pip.get_installed_distributions()
napalm_packages = sorted(["{}=={}".format(i.key, i.version)
for i in installed_packages if i.key.startswith("napalm")])
for n in napalm_packages:
logger.debug(n)
评论列表
文章目录