# HG changeset patch # User Martin von Zweigbergk # Date 2016-03-11 23:40:58 # Node ID 3c90090320ad1c9017a9f14019a19f05442f8866 # Parent 138ec8835e63006158ba0b87e457dc4a50892546 zeroconf: remove leftover camelcase identifier eb9d0e828c30 (zeroconf: remove camelcase in identifiers, 2016-03-01) forgot one occurrence of "numAuthorities", which makes test-paths.t fail for me. I don't even know what zeroconf is, but this patch seems obviously correct and it fixes the failing test case. diff --git a/hgext/zeroconf/Zeroconf.py b/hgext/zeroconf/Zeroconf.py --- a/hgext/zeroconf/Zeroconf.py +++ b/hgext/zeroconf/Zeroconf.py @@ -555,7 +555,7 @@ class DNSIncoming(object): """Reads answers, authorities and additionals section of the packet""" format = '!HHiH' length = struct.calcsize(format) - n = self.numanswers + self.numAuthorities + self.numadditionals + n = self.numanswers + self.numauthorities + self.numadditionals for i in range(0, n): domain = self.readName() info = struct.unpack(format,