[ppa-qps-devel] Marine ed theme remplates
Brought to you by:
ods
From: Vasiliy M. <mc...@ge...> - 2006-10-23 21:09:50
|
Me again. Most of subj files has windows line-ends encoding. You guys developing on windows? surprise :) And more about templates: File "FOREIGN_DROP.edit.pyem", line 20, in ? NameError: name 'isNew' is not defined Ok. In QPS 2.6 code, file qEdit.py, I've found these lines: # following 3 lines are here only for compatibility reasons # after all field templates will be changed they will gone namespace['edPrefix'] = self.edit.prefix namespace['edUser'] = self.user namespace['isNew'] = self.isNew And they really has gone in 2.7, but for example keyword 'isNew' can be found in field templates of all themes, including default one. So we have templates outdated in repository? Or that piece of code had gone too soon? Meanwile I suggest: + namespace['edPrefix'] = self.edit.prefix + namespace['edUser'] = self.user + namespace['isNew'] = self.isNew McV. |