comparison sat/bridge/bridge_constructor/base_constructor.py @ 2628:779351da2c13

core, frontends: replaced org\.goffi namespaces by org.salutatoi + fixed generation: generation of D-Bus bridge has been broken by black formatting tool, this patch fixes this.
author Goffi <goffi@goffi.org>
date Sun, 01 Jul 2018 20:37:58 +0200
parents 56f94936df1e
children 003b8b4b56a7
comparison
equal deleted inserted replaced
2627:163aab916bcf 2628:779351da2c13
143 """Generator which return individual arguments signatures from a global signature""" 143 """Generator which return individual arguments signatures from a global signature"""
144 start = 0 144 start = 0
145 i = 0 145 i = 0
146 146
147 while i < len(signature): 147 while i < len(signature):
148 if signature[i] not in [ 148 if signature[i] not in ["b", "y", "n", "i", "x", "q", "u", "t", "d", "s",
149 "b", 149 "a"]:
150 "y",
151 "n",
152 "i",
153 "x",
154 "q",
155 "u",
156 "t",
157 "d",
158 "s",
159 "a",
160 ]:
161 raise ParseError("Unmanaged attribute type [%c]" % signature[i]) 150 raise ParseError("Unmanaged attribute type [%c]" % signature[i])
162 151
163 if signature[i] == "a": 152 if signature[i] == "a":
164 i += 1 153 i += 1
165 if ( 154 if (