Skip to content

Commit 3714c62

Browse files
author
Willi Ballenthin
committed
binary parser: remove extra whitespace from formatted guid
1 parent b65d192 commit 3714c62

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Evtx/BinaryParser.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,7 @@ def unpack_guid(self, offset):
558558

559559
# Yeah, this is ugly
560560
h = _bin
561-
return """
562-
{:02x}{:02x}{:02x}{:02x}-{:02x}{:02x}- \
563-
{:02x}{:02x}- \
564-
{:02x}{:02x}- \
565-
{:02x}{:02x}{:02x}{:02x}{:02x}{:02x}""".format(
561+
return """{:02x}{:02x}{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}{:02x}{:02x}{:02x}{:02x}""".format(
566562
h[3], h[2], h[1], h[0],
567563
h[5], h[4],
568564
h[7], h[6],

0 commit comments

Comments
 (0)