mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-07-04 21:11:29 +00:00
inst_tester: Improve doc string/argument name
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
32ea0ccb70
commit
f86cda97da
@ -157,13 +157,13 @@ class InstallabilityTester(object):
|
|||||||
"""
|
"""
|
||||||
return not self._testing.isdisjoint(pkgs)
|
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
|
"""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: 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):
|
def add_testing_binary(self, pkg_id):
|
||||||
"""Add a binary package to "testing"
|
"""Add a binary package to "testing"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user