We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 725d868 commit 0648759Copy full SHA for 0648759
rest/helper.py
@@ -128,10 +128,10 @@ def format_ports(ports):
128
def format_port(port):
129
port_value = {'name': port.name, 'direction': port._direction}
130
if port._direction == 'Uses':
131
- versionIdx = port.using.repoId.rfind(':')
132
- version = port.using.repoId[versionIdx:]
+ version_idx = port._using.repoId.rfind(':')
+ version = port._using.repoId[version_idx:]
133
134
- port_value['repId'] = port.using.repoId
+ port_value['repId'] = port._using.repoId
135
port_value['idl'] = {
136
'type': port._using.name,
137
'namespace': port._using.nameSpace,
0 commit comments