Changes between Version 2 and Version 3 of Ticket #3481


Ignore:


Timestamp:
Mar 15, 2016, 4:42:47 PM (4 years ago)
Author:
dustin
Comment:

I suspect that just adding an implements(..) would be sufficient.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3481

    • Property Type changed from undecided to defect
    • Property Milestone changed from undecided to 0.8.x
  • Ticket #3481 – Description

    v2 v3  
    66    c['status'].append(status.WebStatus(8080))
    77}}}
     8
    89But it fails with
     10
    911{{{
    1012    exceptions.AttributeError: Plugin buildbot.status:WebStatus does not
     
    1214    interface <InterfaceClass buildbot...IStatusReceiver>
    1315}}}
     16
    1417The workaround seems to be to ignore the docs and do
     18
    1519{{{
    1620    import buildbot.status.html
    1721    c['status'].append(buildbot.status.html.WebStatus(http_port=8080))
    1822}}}
     23
    1924Shouldn't either the doc or the code should be fixed so the documented sequence works?