mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
__new__ does not take arguments, remove deprecation warning
This commit is contained in:
parent
89bb1b8368
commit
ab5c0dfe7e
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def load_platform_subclass(cls, *args, **kwargs):
|
|||
if subclass is None:
|
||||
subclass = cls
|
||||
|
||||
return super(cls, subclass).__new__(subclass, *args, **kwargs)
|
||||
return super(cls, subclass).__new__(subclass)
|
||||
|
||||
|
||||
class AnsibleModule(object):
|
||||
|
|
Loading…
Reference in a new issue