MCPcopy Create free account
hub / github.com/TKCERT/pfFocus / format_rule_location

Function format_rule_location

pf_focus/bbcode.py:51–54  ·  view source on GitHub ↗
(rule_location)

Source from the content-addressed store, hash-verified

49 return str(rule_alias)
50
51def format_rule_location(rule_location):
52 if isinstance(rule_location, PfSenseRuleAlias):
53 rule_location = format_rule_alias(rule_location.data)
54 return str(rule_location)
55
56def format_bbcode_cell(cell):
57 if cell is None or (isinstance(cell, PfSenseNode) and cell.data is None):

Callers 1

format_bbcode_cellFunction · 0.70

Calls 1

format_rule_aliasFunction · 0.70

Tested by

no test coverage detected