Skip to content

Commit 0b8309e

Browse files
committed
Merge branch 'master' of github.com:pycrate-org/pycrate
2 parents 1a3b584 + 2a6ab2e commit 0b8309e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/pycrate_map_op_info.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_construct_info(obj, info, wext=True, space=SPACE_CONSTRUCT):
8585
if wext and c.TYPE in TYPE_CONSTRUCT and \
8686
(c._name != 'extensionContainer' or PRINT_PROTO_EXTCONTAINER):
8787
info.append( SPACE_MARGIN + space + pp.pformat(
88-
c.get_proto(w_open=wext, w_opt=wext, w_enum=wext, blacklist=bl)[1]
88+
c.get_proto(w_opt=wext, w_enum=wext, blacklist=bl)[1]
8989
).replace('\n', '\n' + SPACE_MARGIN + space) )
9090
info.append(space + 'mandatory : %s' % ', '.join(obj._root_mand))
9191
#
@@ -94,15 +94,15 @@ def get_construct_info(obj, info, wext=True, space=SPACE_CONSTRUCT):
9494
info.append(SPACE_MARGIN + '- %s (%s)' % (c._typeref.called[1], c.TYPE))
9595
if wext and c.TYPE in TYPE_CONSTRUCT:
9696
info.append( SPACE_MARGIN + space + pp.pformat(
97-
c.get_proto(w_open=wext, w_opt=wext, w_enum=wext, blacklist=bl)[1]
97+
c.get_proto(w_opt=wext, w_enum=wext, blacklist=bl)[1]
9898
).replace('\n', '\n' + SPACE_MARGIN + space) )
9999
#
100100
elif obj.TYPE == TYPE_CHOICE:
101101
for c in obj._cont.values():
102102
info.append(SPACE_MARGIN + '- %s (%s)' % (c._name, c.TYPE))
103103
if wext and c.TYPE in TYPE_CONSTRUCT:
104104
info.append( SPACE_MARGIN + space + pp.pformat(
105-
c.get_proto(w_open=wext, w_opt=wext, w_enum=wext, blacklist=bl)[1]
105+
c.get_proto(w_opt=wext, w_enum=wext, blacklist=bl)[1]
106106
).replace('\n', '\n' + SPACE_MARGIN + space) )
107107
#
108108
elif obj.TYPE == TYPE_ENUM and wext:

0 commit comments

Comments
 (0)