MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / getAttribute

Method getAttribute

bleachbit/CleanerML.py:67–68  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

65 self.nodeName = element.tag
66
67 def getAttribute(self, name):
68 return self._element.attrib.get(name, '')
69
70 def hasAttribute(self, name):
71 return name in self._element.attrib

Callers 15

actions_to_cleanerFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
_test_action_strMethod · 0.45
__init__Method · 0.45

Calls 1

getMethod · 0.45

Tested by 11

actions_to_cleanerFunction · 0.36
__init__Method · 0.36
__init__Method · 0.36
__init__Method · 0.36
__init__Method · 0.36
__init__Method · 0.36
__init__Method · 0.36
__init__Method · 0.36
__init__Method · 0.36
__init__Method · 0.36
_test_action_strMethod · 0.36