[Buildbot-devel] Filtering on Revision

Charles Lepple clepple at gmail.com
Fri Nov 21 00:30:32 UTC 2008


On Nov 20, 2008, at 6:43 PM, David A. Greene wrote:

> If change.revision isn't an integer, what is it?  How do I extract  
> an integer
> value to do comparisons?  The BuildBot documentation doesn't really  
> talk about
> what a Change is.  Even the API docs are vague.


How about this:

    if int(change.revision) % 10 == 0:

-- 
Charles Lepple
clepple at gmail







More information about the devel mailing list