Skip to content

Commit

Permalink
Merge branch 'main' into fix-keyword-name
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamper authored Jan 8, 2024
2 parents d1b024f + 8d61e1c commit 7ce9599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dissect/cstruct/types/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, name: str, type_: BaseType, bits: int = None, offset: int = N
self.alignment = type_.alignment

def __repr__(self):
bits_str = " : {self.bits}" if self.bits else ""
bits_str = f" : {self.bits}" if self.bits else ""
return f"<Field {self.name} {self.type}{bits_str}>"


Expand Down

0 comments on commit 7ce9599

Please sign in to comment.