Mercurial > public > mercurial-scm > hg-stable
diff hgext/zeroconf/Zeroconf.py @ 27637:b502138f5faa
cleanup: remove superfluous space after space after equals (python)
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 31 Dec 2015 08:16:59 +0000 |
parents | 31f32a96e1e3 |
children | c16949fcb566 |
line wrap: on
line diff
--- a/hgext/zeroconf/Zeroconf.py Mon Jan 04 21:54:46 2016 -0800 +++ b/hgext/zeroconf/Zeroconf.py Thu Dec 31 08:16:59 2015 +0000 @@ -150,7 +150,7 @@ _TYPE_TXT = 16 _TYPE_AAAA = 28 _TYPE_SRV = 33 -_TYPE_ANY = 255 +_TYPE_ANY = 255 # Mapping constants to names @@ -522,7 +522,7 @@ def readString(self, len): """Reads a string of a given length from the packet""" format = '!' + str(len) + 's' - length = struct.calcsize(format) + length = struct.calcsize(format) info = struct.unpack(format, self.data[self.offset:self.offset+length]) self.offset += length return info[0]