532c5db2b1520bc7422fa106576b11e36f4721ab,Orange/canvas/help/manager.py,,create_html_inventory_provider,#Any#,337
Before Change
if not is_develop_egg(dist):
// skip the location
continue
target = formatter.format(target, DEVELOP_ROOT=dist.location)
if os.path.exists(target):
return provider.HtmlIndexProvider(
inventory=QUrl.fromLocalFile(target),
xpathquery=xpathquery)
else:
continue
elif fields:
try:
target = formatter.format(target, **replacements)
except KeyError:
After Change
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()))
continue
target = formatter.format(target, **replacements)
targeturl = QUrl(target)
if not targeturl.isValid():
continue
islocal = targeturl.scheme() == "" or targeturl.scheme() == "file"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
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_inventory_provider
Project Name: AlexsLemonade/refinebio
Commit Name: 51b9d4dd65e453d2d9b83683abaea6fb5ecc1a79
Time: 2018-06-29
Author: kurt.wheeler91@gmail.com
File Name: foreman/data_refinery_foreman/surveyor/external_source.py
Class Name: ExternalSourceSurveyor
Method Name: queue_downloader_jobs
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