Stop inheriting from object. It's unneeded on Python 3+. (#8675)

This commit is contained in:
Mads Jensen
2021-02-25 14:59:00 -08:00
committed by GitHub
parent 135187f03e
commit 67c2b27af7
47 changed files with 58 additions and 58 deletions
@@ -4,7 +4,7 @@ from certbot_apache._internal import augeasparser
from certbot_apache._internal import apacheparser
class DualNodeBase(object):
class DualNodeBase:
""" Dual parser interface for in development testing. This is used as the
base class for dual parser interface classes. This class handles runtime
attribute value assertions."""
@@ -95,7 +95,7 @@ class Addr(common.Addr):
return self.get_addr_obj(port)
class VirtualHost(object):
class VirtualHost:
"""Represents an Apache Virtualhost.
:ivar str filep: file path of VH
@@ -16,7 +16,7 @@ from certbot_apache._internal import constants
logger = logging.getLogger(__name__)
class ApacheParser(object):
class ApacheParser:
"""Class handles the fine details of parsing the Apache Configuration.
.. todo:: Make parsing general... remove sites-available etc...