MCPcopy Create free account
hub / github.com/Icinga/icinga2 / IcingaStringPrinter

Class IcingaStringPrinter

tools/debug/gdb/icingadbg.py:4–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import re
3
4class IcingaStringPrinter:
5 def __init__(self, val):
6 self.val = val
7
8 def to_string(self):
9 return '"' + self.val['m_Data']['_M_dataplus']['_M_p'].string() + '"'
10
11class IcingaValuePrinter:
12 def __init__(self, val):

Callers 1

lookup_icinga_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected