705e3e4fbb6cd872e0737371725991b7346c52ae,script/update_mdi.py,,main,#,70
Before Change
local_version = get_local_version()
remote_version, remote_url = get_remote_version()
print("Local version:", local_version)
print("Remote version:", remote_version)
if local_version == remote_version:
print("Already on the latest version.")
After Change
// The remote version is not reliable.
_, remote_url = get_remote_version()
source = clean_component(requests.get(remote_url).text)
new_version = hashlib.md5(source.encode("utf-8")).hexdigest()
if local_version == new_version:
print("Already on the latest version.")
sys.exit()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: home-assistant/home-assistant
Commit Name: 705e3e4fbb6cd872e0737371725991b7346c52ae
Time: 2015-12-05
Author: paulus@paulusschoutsen.nl
File Name: script/update_mdi.py
Class Name:
Method Name: main
Project Name: OpenMined/Grid
Commit Name: 92bb41035940965a436897f16294b6b563117efc
Time: 2021-02-21
Author: ionesiojr@gmail.com
File Name: apps/domain/src/main/core/services/infra_service.py
Class Name:
Method Name: create_worker_msg
Project Name: CyberZHG/keras-bert
Commit Name: 2df9a66ac40d1017792b1c93f34e47e214726d7d
Time: 2019-03-18
Author: CyberZHG@gmail.com
File Name: demo/load_model/load_and_pool.py
Class Name:
Method Name: