Commit b79ac1f3 by sikang

bug fix

parent ffe7d218
......@@ -131,7 +131,7 @@ class PackageGarble:
#忽略3级以下路径(例如com com.common),避免干扰到三方SDK
for (key,value) in self.pkg_mapping.items():
path_level = len(key.split("."))
if path_level < 3 and key not in "tech.starwin":
if path_level < 3 and not key.startswith("tech.starwin"):
self.pkg_mapping[key] = key
#全局替换
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment