mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 02:36:55 +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:
parent
f61847b116
commit
0c5466de47
242 changed files with 329 additions and 331 deletions
|
|
@ -140,7 +140,7 @@ from ansible_collections.community.general.plugins.module_utils.datetime import
|
|||
)
|
||||
|
||||
|
||||
class GitHubResponse(object):
|
||||
class GitHubResponse:
|
||||
def __init__(self, response, info):
|
||||
self.content = response.read()
|
||||
self.info = info
|
||||
|
|
@ -158,7 +158,7 @@ class GitHubResponse(object):
|
|||
return links
|
||||
|
||||
|
||||
class GitHubSession(object):
|
||||
class GitHubSession:
|
||||
def __init__(self, module, token, api_url):
|
||||
self.module = module
|
||||
self.token = token
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue