зеркало из https://github.com/mozilla/pjs.git
Bug 508780 Followup to make qsgen.py compatible with Python 2.4 r=peterv
This commit is contained in:
Родитель
645d38d800
Коммит
a2dd532f02
|
@ -697,8 +697,10 @@ def writeQuickStub(f, customMethodCalls, member, stubName, isSetter=False):
|
||||||
|
|
||||||
if isMethod:
|
if isMethod:
|
||||||
code = customMethodCall['code']
|
code = customMethodCall['code']
|
||||||
|
elif isGetter:
|
||||||
|
code = customMethodCall['getter_code']
|
||||||
else:
|
else:
|
||||||
code = customMethodCall['getter_code' if isGetter else 'setter_code']
|
code = customMethodCall['setter_code']
|
||||||
stubName = templateName
|
stubName = templateName
|
||||||
else:
|
else:
|
||||||
callTemplate = ""
|
callTemplate = ""
|
||||||
|
|
Загрузка…
Ссылка в новой задаче