Changes between Initial Version and Version 2 of Ticket #3481


Ignore:


Timestamp:
Mar 15, 2016, 4:42:14 PM (4 years ago)
Author:
rutsky
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3481 – Description

    initial v2  
    55    from buildbot.plugins import status
    66    c['status'].append(status.WebStatus(8080))
    7 ```
     7}}}
    88But it fails with
    9 ```
     9{{{
    1010    exceptions.AttributeError: Plugin buildbot.status:WebStatus does not
    1111    implement IStatusReceiver: An object has failed to implement
    1212    interface <InterfaceClass buildbot...IStatusReceiver>
    13 ```
     13}}}
    1414The workaround seems to be to ignore the docs and do
    15 ```
     15{{{
    1616    import buildbot.status.html
    1717    c['status'].append(buildbot.status.html.WebStatus(http_port=8080))
    18 ```
     18}}}
    1919Shouldn't either the doc or the code should be fixed so the documented sequence works?