mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:04:31 +02:00
Stop inheriting from object. It's unneeded on Python 3+. (#8675)
This commit is contained in:
@@ -76,7 +76,7 @@ class Authenticator(dns_common.DNSAuthenticator):
|
||||
return _GoogleClient(self.conf('credentials'))
|
||||
|
||||
|
||||
class _GoogleClient(object):
|
||||
class _GoogleClient:
|
||||
"""
|
||||
Encapsulates all communication with the Google Cloud DNS API.
|
||||
"""
|
||||
|
||||
@@ -401,7 +401,7 @@ class GoogleClientTest(unittest.TestCase):
|
||||
self.assertRaises(ServerNotFoundError, _GoogleClient.get_project_id)
|
||||
|
||||
|
||||
class DummyResponse(object):
|
||||
class DummyResponse:
|
||||
"""
|
||||
Dummy object to create a fake HTTPResponse (the actual one requires a socket and we only
|
||||
need the status attribute)
|
||||
|
||||
Reference in New Issue
Block a user