disable_node 'msg' keyword argument is documented, but not used

Bug #1569074 reported by Matt Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python Jenkins
New
Undecided
Unassigned

Bug Description

The documentation/docstring for the `disable_node` function shown here:
https://git.openstack.org/cgit/openstack/python-jenkins/tree/jenkins/__init__.py#n1177
shows a 'msg' keyword argument. This kwarg isn't actually used in the function anywhere, but it would be very useful if it were.

Revision history for this message
Matt Smith (mss-4) wrote :

Just as a side note, passing in `locals()` and dynamically adding anything that happens to be in there seems like an idea ripe for abuse. But maybe I'm biased :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.