[PATCH 1 of 2] zeroconf: remove one last camelcase in identifiers

danek.duvall at oracle.com danek.duvall at oracle.com
Tue Mar 15 17:02:43 EDT 2016


# HG changeset patch
# User Danek Duvall <danek.duvall at oracle.com>
# Date 1458074323 25200
#      Tue Mar 15 13:38:43 2016 -0700
# Node ID 0bb0e0813edcb4cdda18c5d950fd0df8d90b119f
# Parent  70c2f8a982766b512e9d7f41f2d93fdb92f5481f
zeroconf: remove one last camelcase in identifiers

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,


More information about the Mercurial-devel mailing list