mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Cleanup: remove unicode prefix, remove explicit inheritance from object (#11015)
* Address UP025: remove unicode literals from strings. * Address UP004: class inherits from 'object'.
This commit is contained in:
@@ -27,7 +27,7 @@ class OnlineException(Exception):
|
||||
self.message = message
|
||||
|
||||
|
||||
class Response(object):
|
||||
class Response:
|
||||
|
||||
def __init__(self, resp, info):
|
||||
self.body = None
|
||||
@@ -55,7 +55,7 @@ class Response(object):
|
||||
return self.status_code in (200, 201, 202, 204)
|
||||
|
||||
|
||||
class Online(object):
|
||||
class Online:
|
||||
|
||||
def __init__(self, module):
|
||||
self.module = module
|
||||
|
||||
Reference in New Issue
Block a user