Skip to content

Commit bdd687b

Browse files
committed
Reformat of do_classdesc
1 parent 9185242 commit bdd687b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

javaobj.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ def do_classdesc(self, parent=None, ident=0):
624624

625625
if field_type == self.TYPE_ARRAY:
626626
_, field_type = self._read_and_exec_opcode(
627-
ident=ident + 1, expect=(self.TC_STRING,
628-
self.TC_REFERENCE))
627+
ident=ident + 1,
628+
expect=(self.TC_STRING, self.TC_REFERENCE))
629629
assert type(field_type) is str
630630
# if field_type is not None:
631631
# field_type = "array of " + field_type
@@ -634,8 +634,8 @@ def do_classdesc(self, parent=None, ident=0):
634634

635635
elif field_type == self.TYPE_OBJECT:
636636
_, field_type = self._read_and_exec_opcode(
637-
ident=ident + 1, expect=(self.TC_STRING,
638-
self.TC_REFERENCE))
637+
ident=ident + 1,
638+
expect=(self.TC_STRING, self.TC_REFERENCE))
639639
assert type(field_type) is str
640640

641641
log_debug("FieldName: 0x{0:X} Name:{1} Type:{2} ID:{3}"
@@ -659,8 +659,8 @@ def do_classdesc(self, parent=None, ident=0):
659659

660660
# superClassDesc
661661
_, superclassdesc = self._read_and_exec_opcode(
662-
ident=ident + 1, expect=(self.TC_CLASSDESC, self.TC_NULL,
663-
self.TC_REFERENCE))
662+
ident=ident + 1,
663+
expect=(self.TC_CLASSDESC, self.TC_NULL, self.TC_REFERENCE))
664664
log_debug(str(superclassdesc), ident)
665665
clazz.superclass = superclassdesc
666666
return clazz

0 commit comments

Comments
 (0)