Skip to content

Commit

Permalink
Remove unwanted pylint directives
Browse files Browse the repository at this point in the history
Those are results of a bad conflict resolution I did when merging [1].

[1] 552a030 ("Call UpdateService on SRV & A/AAAA updates as well as TXT (#239)")
  • Loading branch information
jstasiak committed May 6, 2020
1 parent 0540342 commit 0dd6fe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zeroconf/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def test_numbers(self):
def test_numbers_questions(self):
generated = r.DNSOutgoing(r._FLAGS_QR_RESPONSE)
question = r.DNSQuestion("testname.local.", r._TYPE_SRV, r._CLASS_IN)
for i in range(10): # pylint: disable=unused-variable
for i in range(10):
generated.add_question(question)
bytes = generated.packet()
(num_questions, num_answers, num_authorities, num_additionals) = struct.unpack('!4H', bytes[4:12])
Expand Down Expand Up @@ -756,7 +756,7 @@ def send(out, addr=r._MDNS_ADDR, port=r._MDNS_PORT):
"""Sends an outgoing packet."""
nonlocal nbr_answers, nbr_additionals, nbr_authorities

for answer, time_ in out.answers: # pylint: disable=unused-variable
for answer, time_ in out.answers:
nbr_answers += 1
assert answer.ttl == get_ttl(answer.type)
for answer in out.additionals:
Expand Down

0 comments on commit 0dd6fe4

Please sign in to comment.