Skip to content

Commit 8108def

Browse files
committed
Too much arguments for __init__ of object
Reported by mypy
1 parent 2f4cdbe commit 8108def

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testinfra/modules/iptables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
class Iptables(InstanceModule):
1717
"""Test iptables rule exists"""
1818

19-
def __init__(self, *args, **kwargs):
20-
super().__init__(*args, **kwargs)
19+
def __init__(self):
20+
super().__init__()
2121
# support for -w argument (since 1.6.0)
2222
# https://git.netfilter.org/iptables/commit/?id=aaa4ace72b
2323
# centos 6 has no support

0 commit comments

Comments
 (0)