1
0
Fork 0
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:
Michael DeHaan 2012-11-14 19:58:44 -05:00
parent 89bb1b8368
commit ab5c0dfe7e

View file

@ -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):