aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-12-20 17:12:46 -0500
committerMatt Turner <mattst88@gentoo.org>2020-12-20 17:12:46 -0500
commit4c3ca2185c9bb71a028fb54953728c5a05807765 (patch)
treea1eb16e6c74ef788bf70f74a2969fa13183990eb /pym/gentoolkit/equery
parentRemove Python < 3 version checks (diff)
downloadgentoolkit-4c3ca2185c9bb71a028fb54953728c5a05807765.tar.gz
gentoolkit-4c3ca2185c9bb71a028fb54953728c5a05807765.tar.bz2
gentoolkit-4c3ca2185c9bb71a028fb54953728c5a05807765.zip
Remove inherits from object
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'pym/gentoolkit/equery')
-rw-r--r--pym/gentoolkit/equery/belongs.py2
-rw-r--r--pym/gentoolkit/equery/check.py2
-rw-r--r--pym/gentoolkit/equery/depends.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/pym/gentoolkit/equery/belongs.py b/pym/gentoolkit/equery/belongs.py
index 8289366..1c9ab13 100644
--- a/pym/gentoolkit/equery/belongs.py
+++ b/pym/gentoolkit/equery/belongs.py
@@ -36,7 +36,7 @@ QUERY_OPTS = {
# Classes
# =======
-class BelongsPrinter(object):
+class BelongsPrinter:
"""Outputs a formatted list of packages that claim to own a files."""
def __init__(self, verbose=True, name_only=False):
diff --git a/pym/gentoolkit/equery/check.py b/pym/gentoolkit/equery/check.py
index e965164..47eba98 100644
--- a/pym/gentoolkit/equery/check.py
+++ b/pym/gentoolkit/equery/check.py
@@ -41,7 +41,7 @@ QUERY_OPTS = {
# Classes
# =======
-class VerifyContents(object):
+class VerifyContents:
"""Verify installed packages' CONTENTS files.
The CONTENTS file contains timestamps and MD5 sums for each file owned
diff --git a/pym/gentoolkit/equery/depends.py b/pym/gentoolkit/equery/depends.py
index 7461ade..74c6933 100644
--- a/pym/gentoolkit/equery/depends.py
+++ b/pym/gentoolkit/equery/depends.py
@@ -33,7 +33,7 @@ QUERY_OPTS = {
# Classes
# =======
-class DependPrinter(object):
+class DependPrinter:
"""Output L{gentoolkit.dependencies.Dependencies} objects."""
def __init__(self, verbose=True):
self.verbose = verbose