From 6b7f1c28a0bab61be9f940182b59e55e49d190dc Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 15 Dec 2017 11:00:51 +0100 Subject: [PATCH] Improve comments wording in fedabipkgdiff While looking at something else, it struck me that we could use some better wording in the comments for the RPM class. * tools/fedabipkgdiff (class RPM): Fix wording. (RPM::__init__): Likewise. Signed-off-by: Dodji Seketeli --- tools/fedabipkgdiff | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tools/fedabipkgdiff b/tools/fedabipkgdiff index 9db5015e..602761c4 100755 --- a/tools/fedabipkgdiff +++ b/tools/fedabipkgdiff @@ -263,17 +263,18 @@ def delete_download_cache(): class RPM(object): - """Wrapper of RPM representing a RPM got from Koji + """Wrapper around an RPM descriptor received from Koji - A RPM is returned from Koji XMLRPC API is in dict type. This wrapper makes - it eaiser to access all these properties in the way of object.property. + The RPM descriptor that is returned from Koji XMLRPC API is a + dict. This wrapper class makes it eaiser to access all these + properties in the way of object.property. """ def __init__(self, rpm_info): """Initialize a RPM object - :param dict rpm_info: a dict representing a RPM information got from - koji API, either listRPMs or getRPM + :param dict rpm_info: a dict representing an RPM descriptor + received from the Koji API, either listRPMs or getRPM """ self.rpm_info = rpm_info