Mercurial > hg
changeset 28504:3c90090320ad
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.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 11 Mar 2016 15:40:58 -0800 |
parents | 138ec8835e63 |
children | d5512a0a8ad6 |
files | hgext/zeroconf/Zeroconf.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/zeroconf/Zeroconf.py Sat Mar 12 04:35:42 2016 +0900 +++ b/hgext/zeroconf/Zeroconf.py Fri Mar 11 15:40:58 2016 -0800 @@ -555,7 +555,7 @@ """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,