X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=osm_lcm%2Flcm_utils.py;h=7ce1841faac51dfa9fccf0efa7402bed2cecaba4;hb=4d209f039b05c39750dd192095cffba9e3a80925;hp=956e44f70de2b34e5a9700e7bb1261e9c42a48c6;hpb=1dda84cafdeeb4a6affb443e65102a0c8149ec5c;p=osm%2FLCM.git diff --git a/osm_lcm/lcm_utils.py b/osm_lcm/lcm_utils.py index 956e44f..7ce1841 100644 --- a/osm_lcm/lcm_utils.py +++ b/osm_lcm/lcm_utils.py @@ -269,7 +269,6 @@ class LcmBase: target_charm = self.fs.path + target_charm_path if os.path.exists(current_charm) and os.path.exists(target_charm): - # Compare the hash of .charm files if current_charm.endswith(".charm"): return LcmBase.compare_charm_hash(current_charm, target_charm) @@ -383,7 +382,6 @@ class LcmBase: # Get the NSD package path if revision: - nsd_package_path = db_nsr["nsd-id"] + ":" + str(revision) db_nsd = self.db.get_one("nsds_revisions", {"_id": nsd_package_path})