__new__ does not take arguments, remove deprecation warning

pull/1648/head
Michael DeHaan 12 years ago
parent 89bb1b8368
commit ab5c0dfe7e

@ -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…
Cancel
Save