From da016540f6e2faa7ace0085b1cd5a511b45c3327 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Apr 04 2019 23:18:17 +0000 Subject: hub: document editHost arguments Describe the types of each argument to the edit_host() method. In particular, "arches" must be a string here, whereas in addHost it is a list. --- diff --git a/hub/kojihub.py b/hub/kojihub.py index 68a8f07..2d3fb1f 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -4702,10 +4702,10 @@ def edit_host(hostInfo, **kw): hostInfo specifies the host to edit, either as an integer (id) or a string (name). fields to be changed are specified as keyword parameters: - - arches - - capacity - - description - - comment + - arches (a space-separated string) + - capacity (string) + - description (string) + - comment (string) Returns True if changes are made to the database, False otherwise. """