Skip to content
Snippets Groups Projects
Closed (moved) pyptlib.server.reportSuccess documentation misses required options parameter
  • View options
  • pyptlib.server.reportSuccess documentation misses required options parameter

    • View options
  • Closed (moved) created by David Fifield

    https://pyptlib.readthedocs.org/en/master/API.html#report-results-back-to-tor has this example:

    pyptlib.server.reportSuccess('rot13', ('127.0.0.1', 42042))

    But this doesn't work, because of a required third options parameter:

    TypeError: reportSuccess() takes exactly 3 arguments (2 given)

    So reportSuccess should be documented to need None as a third argument if you don't need any options, or options should be made an optional parameter.

    Attributes

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first