From: Luke Kenneth Casson Leighton Date: Fri, 9 Sep 2022 14:20:22 +0000 (+0100) Subject: add default arg byteorder=LITTLE to pysvp64dis X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29072b525d8d46f7b2d215ec53de6998cb8654d5;p=openpower-isa.git add default arg byteorder=LITTLE to pysvp64dis --- diff --git a/src/openpower/sv/trans/pysvp64dis.py b/src/openpower/sv/trans/pysvp64dis.py index ff276ed4..54dc16b5 100644 --- a/src/openpower/sv/trans/pysvp64dis.py +++ b/src/openpower/sv/trans/pysvp64dis.py @@ -22,7 +22,7 @@ class ByteOrder(_enum.Enum): return self.name.lower() -def load(ifile, byteorder, **_): +def load(ifile, byteorder=ByteOrder.LITTLE, **_): byteorder = str(byteorder) while True: