MCPcopy
hub / github.com/corpnewt/GenSMBIOS / wrap_data

Function wrap_data

Scripts/plist.py:33–35  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

31### ###
32
33def wrap_data(value):
34 if not _check_py3(): return plistlib.Data(value)
35 return value
36
37def extract_data(value):
38 if not _check_py3() and isinstance(value,plistlib.Data): return value.data

Callers

nothing calls this directly

Calls 1

_check_py3Function · 0.85

Tested by

no test coverage detected