Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PierreGode/Ragnar
/ _uuid_convert
Function
_uuid_convert
pager_lib/getmac/getmac.py:290–292 ·
view source on GitHub ↗
(mac)
Source
from the content-addressed store, hash-verified
288
289
290
def
_uuid_convert(mac):
291
# type: (int) -> str
292
return
":"
.join((
"%012X"
% mac)[i : i + 2]
for
i in range(0, 12, 2))
293
294
295
def
_fetch_ip_using_dns():
Callers
2
get
Method · 0.85
get
Method · 0.85
Calls
1
range
Function · 0.85
Tested by
no test coverage detected