always quote types in generated hooks
This commit is contained in:
parent
1741ce1ed8
commit
25a1a2c89c
@ -36,7 +36,6 @@ class Hook:
|
|||||||
types = []
|
types = []
|
||||||
for arg in self.args or []:
|
for arg in self.args or []:
|
||||||
(name, type) = arg.split(":")
|
(name, type) = arg.split(":")
|
||||||
if "." in type:
|
|
||||||
type = '"' + type.strip() + '"'
|
type = '"' + type.strip() + '"'
|
||||||
types.append(type)
|
types.append(type)
|
||||||
types_str = ", ".join(types)
|
types_str = ", ".join(types)
|
||||||
|
Loading…
Reference in New Issue
Block a user