532c5db2b1520bc7422fa106576b11e36f4721ab,Orange/canvas/help/manager.py,,create_html_provider,#Any#,293
Before Change
fields = list(map(itemgetter(1), format_iter))
fields = [_f for _f in set(fields) if _f]
if "DEVELOP_ROOT" in fields:
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.SimpleHelpProvider(
baseurl=QUrl.fromLocalFile(target))
else:
continue
elif fields:
try:
target = formatter.format(target, **replacements)
except KeyError:
log.exception("Error while formating doc root mapping",
target)
continue
return provider.SimpleHelpProvider(baseurl=target)
else:
return provider.SimpleHelpProvider(baseurl=target)
return None
def create_html_inventory_provider(entry_point):
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():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
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: gboeing/osmnx
Commit Name: 2170bf931f6178f37459d0a71c48ac00586b555b
Time: 2020-12-02
Author: boeing@usc.edu
File Name: osmnx/simplification.py
Class Name:
Method Name: consolidate_intersections
Project Name: gboeing/osmnx
Commit Name: 2170bf931f6178f37459d0a71c48ac00586b555b
Time: 2020-12-02
Author: boeing@usc.edu
File Name: osmnx/stats.py
Class Name:
Method Name: basic_stats
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