Skip to content

Commit 93c56d4

Browse files
authored
Merge pull request #121 from lostsnow/feature/release-1.4.0
update sca packge name
2 parents 4083785 + 78df4e8 commit 93c56d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dongtai_agent_python/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def get_packages():
9595
if os.path.exists(package.location + os.sep + lvl):
9696
module_path = package.location + os.sep + lvl
9797

98-
package_name = 'pypi:' + package.project_name.lower() + ':' + package.version
98+
package_name = 'pypi:' + package.project_name.lower() + ':' + package.version + ':'
9999
sha_1 = hashlib.sha1()
100100
sha_1.update(bytes(package_name, encoding='utf-8'))
101101
digest = sha_1.hexdigest()

0 commit comments

Comments
 (0)