mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +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:
@@ -17,7 +17,7 @@ from ansible.module_utils.basic import json
|
||||
import urllib.error as urllib_error
|
||||
|
||||
|
||||
class Response(object):
|
||||
class Response:
|
||||
'''
|
||||
Create a response object to mimic that of requests.
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user