mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-26 08:26:28 +00:00
__new__ does not take arguments, remove deprecation warning
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user