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

Function extract_data

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

Source from the content-addressed store, hash-verified

35 return value
36
37def extract_data(value):
38 if not _check_py3() and isinstance(value,plistlib.Data): return value.data
39 return value
40
41def _check_py3():
42 return sys.version_info >= (3, 0)

Callers

nothing calls this directly

Calls 1

_check_py3Function · 0.85

Tested by

no test coverage detected