From ac03c257b972ca52329f38c5ee08c37d0be89fe3 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 27 Jul 2020 12:05:19 +0200 Subject: [PATCH] jsoncomm: remove unnecessary brackets FdSet does derive directly and only from `object`. Not specifying any base classes is the same as specifying an empty list of base classes; therefore get rid of the empty list. --- osbuild/util/jsoncomm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osbuild/util/jsoncomm.py b/osbuild/util/jsoncomm.py index 838829a8..f2c77ff5 100644 --- a/osbuild/util/jsoncomm.py +++ b/osbuild/util/jsoncomm.py @@ -17,7 +17,7 @@ from typing import Optional from .types import PathLike -class FdSet(): +class FdSet: """File-Descriptor Set This object wraps an array of file-descriptors. Unlike a normal integer