add default arg byteorder=LITTLE to pysvp64dis
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 9 Sep 2022 14:20:22 +0000 (15:20 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 9 Sep 2022 14:20:22 +0000 (15:20 +0100)
src/openpower/sv/trans/pysvp64dis.py

index ff276ed48907500ffe39719c6b3eb8195f40aa24..54dc16b5652ff7c4da7e79e7375a9e47d555e517 100644 (file)
@@ -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: