Changes between Initial Version and Version 1 of Ticket #7229, comment 1
- Timestamp:
- May 22, 2014, 2:21:26 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7229, comment 1
initial v1 1 1 Here is another alternative. Add this before the get_xmlrpc_url definition: 2 2 {{{#!text/x-python 3 3 def get_buildbot_version(self): 4 4 version=self.config.get("buildbot", "version") … … 10 10 else: 11 11 return 0.7 12 13 14 12 }}} 15 13 Then later this: 14 {{{#!text/x-python 16 15 laststatus=lastbuild[5] 17 16 lastbranch=lastbuild[3] 17 }}} 18 18 becomes: 19 {{{#!text/x-python 19 20 if self.get_buildbot_version() > 0.7: 20 21 laststatus=lastbuild[6] … … 23 24 laststatus=lastbuild[5] 24 25 lastbranch=lastbuild[3] 25 26 }}} 26 27 27 28 In the trac.ini file, I added: