Fixed net errors, optimizations and sniffer WIP
Quick fix for package versions compare logic:
- repo update is OK when candidate is the same
- repo update is not ok when all versions different
Change-Id: I6602d5486b98375b254d0d92a6071fb26582b770
Related-PROD: PROD-28199
diff --git a/cfg_checker/modules/packages/versions.py b/cfg_checker/modules/packages/versions.py
index c5689d3..e16dab8 100644
--- a/cfg_checker/modules/packages/versions.py
+++ b/cfg_checker/modules/packages/versions.py
@@ -345,8 +345,8 @@
elif i == c:
self.target = c
if i < r:
- # both are old, new target
- self.status = const.VERSION_ERR
+ # both are intact, new target possible
+ self.status = const.VERSION_OK
self.action = const.ACT_REPO
self.target = r
elif i > r: