[Buildbot-devel] messageFormatter which includes last 50 lines from log file is including < 50 lines when the log file is 77 lines
William Deegan
bill at baddogconsulting.com
Thu Mar 31 23:27:57 UTC 2011
Amber,
Thanks.
I'll give that a shot.
The len(content)-limit_lines is in the example in the buildbot user manual.
Should I file a bug on the manual?
-Bill
On Mar 31, 2011, at 2:51 PM, Amber Yust wrote:
> content[len(content)-limit_lines:]
>
> should just be
>
> content[-limit_lines:]
>
> ~Amber
>
> On Thu, Mar 31, 2011 at 2:23 PM, William Deegan <bill at baddogconsulting.com> wrote:
> content[len(content)-limit_lines:]:
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110331/cc4a04fd/attachment.html>
More information about the devel
mailing list