mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 508780 Followup to make qsgen.py compatible with Python 2.4 r=peterv
This commit is contained in:
parent
9a8993224e
commit
e4cac4353a
@ -697,8 +697,10 @@ def writeQuickStub(f, customMethodCalls, member, stubName, isSetter=False):
|
||||
|
||||
if isMethod:
|
||||
code = customMethodCall['code']
|
||||
elif isGetter:
|
||||
code = customMethodCall['getter_code']
|
||||
else:
|
||||
code = customMethodCall['getter_code' if isGetter else 'setter_code']
|
||||
code = customMethodCall['setter_code']
|
||||
stubName = templateName
|
||||
else:
|
||||
callTemplate = ""
|
||||
|
Loading…
Reference in New Issue
Block a user