532c5db2b1520bc7422fa106576b11e36f4721ab,Orange/canvas/help/manager.py,,create_html_provider,#Any#,293
Before Change
locations = entry_point.load()
dist = entry_point.dist
replacements = {"PROJECT_NAME": dist.project_name,
"PROJECT_NAME_LOWER": dist.project_name.lower() ,
"PROJECT_VERSION": dist.version}
try:
replacements["URL"] = get_dist_url(dist)
After Change
for target in locations:
// Extract all format fields
format_iter = formatter.parse(target)
fields = {name for _, name, _, _ in format_iter if name}
if not set(fields) <= set(replacements.keys()):
log.warning("Invalid replacement fields %s",
set(fields) - set(replacements.keys()))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: biolab/orange3
Commit Name: 532c5db2b1520bc7422fa106576b11e36f4721ab
Time: 2015-08-06
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/canvas/help/manager.py
Class Name:
Method Name: create_html_provider
Project Name: cmu-db/ottertune
Commit Name: 944a0ccc8dc9110516192b0b41a12e8f9612f7ef
Time: 2020-02-20
Author: dvanaken@cs.cmu.edu
File Name: server/website/website/db/base/parser.py
Class Name: BaseParser
Method Name: extract_valid_variables
Project Name: biolab/orange3
Commit Name: 532c5db2b1520bc7422fa106576b11e36f4721ab
Time: 2015-08-06
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/canvas/help/manager.py
Class Name:
Method Name: create_html_inventory_provider