Commit dbd8d780 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Massage Maxime's changes to appease flake8.

parent ad7292f5
......@@ -412,9 +412,9 @@ def CreateGettersAndSetters(
CreateGettersAndSetters(path + "_exist_" + childVarname,
params,
accessPathInC + union + ".exist." + childVarname,
AsnInt(), # exist field is an int
names, # ignored
leafTypeDict) # ignored
AsnInt(), # exist field is an int
names, # ignored
leafTypeDict) # ignored
if isinstance(childNode, AsnMetaMember):
baseTypeOfChild = names[childNode._containedType]._leafType
baseTypeOfChild = leafTypeDict.get(baseTypeOfChild, baseTypeOfChild)
......
......@@ -582,7 +582,7 @@ def WriteCodeForGUIControls(prefixes: List[str], # pylint: disable=invalid-sequ
if isinstance(node, AsnInt):
if g_onceOnly:
g_PyDataModel.write(
'''{'nodeTypename': '%s', 'type': '%s', 'id': '%s', 'isOptional': %s, 'minR': %d, 'maxR': %d}''' % (
'''{'nodeTypename': '%s', 'type': '%s', 'id': '%s', 'isOptional': %s, 'minR': %d, 'maxR': %d}''' % (
nodeTypename, node._name, txtPrefix, isOptional,
node._range[0], node._range[1]))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment