MCPcopy
hub / github.com/knownsec/pocsuite3 / open

Method open

pocsuite3/lib/utils/markup.py:120–126  ·  view source on GitHub ↗

Append an opening tag.

(self, **kwargs)

Source from the content-addressed store, hash-verified

118 raise DeprecationError(self.tag)
119
120 def open(self, **kwargs):
121 """Append an opening tag."""
122
123 if self.tag in self.parent.twotags or self.tag in self.parent.onetags:
124 self.render(self.tag, False, None, kwargs)
125 elif self.mode == 'strict_html' and self.tag in self.parent.deptags:
126 raise DeprecationError(self.tag)
127
128
129class page:

Callers 1

telnet_loginFunction · 0.80

Calls 2

renderMethod · 0.95
DeprecationErrorClass · 0.85

Tested by

no test coverage detected