From f86cda97da578fe567ce7ab41939d419cea37568 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 31 Oct 2018 07:35:51 +0000 Subject: [PATCH] inst_tester: Improve doc string/argument name Signed-off-by: Niels Thykier --- britney2/installability/tester.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/britney2/installability/tester.py b/britney2/installability/tester.py index 7fe47c3..e0a3355 100644 --- a/britney2/installability/tester.py +++ b/britney2/installability/tester.py @@ -157,13 +157,13 @@ class InstallabilityTester(object): """ return not self._testing.isdisjoint(pkgs) - def is_pkg_in_testing(self, pkg): + def is_pkg_in_testing(self, pkg_id): """Test if the package of is in testing - :param pkgs: A package id (as defined in the constructor) + :param pkg_id: A package id (as defined in the constructor) :return: True if the pkg is currently in testing """ - return pkg in self._testing + return pkg_id in self._testing def add_testing_binary(self, pkg_id): """Add a binary package to "testing"