Commit bf63aad9 authored by Michael Büsch's avatar Michael Büsch

util: Shorten short UUIDs

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent d283fb19
......@@ -474,5 +474,5 @@ def shortUUID(uuidStr):
uuidStr[13] == '-' and\
uuidStr[18] == '-' and\
uuidStr[23] == '-':
uuidStr = uuidStr[0:8] + "-..-" + uuidStr[-12:-1]
uuidStr = uuidStr[0:8] + ".." + uuidStr[-6:-1]
return uuidStr
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment