From patchwork Tue Mar 1 10:39:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [8,of,8] zeroconf: remove whitespace around = for named parameters From: timeless@mozdev.org X-Patchwork-Id: 13495 Message-Id: <4e8b98f1fbb1bd24ec2b.1456828750@waste.org> To: mercurial-devel@mercurial-scm.org Date: Tue, 01 Mar 2016 04:39:10 -0600 # HG changeset patch # User timeless # Date 1456825778 0 # Tue Mar 01 09:49:38 2016 +0000 # Node ID 4e8b98f1fbb1bd24ec2b395851850a3f2724b263 # Parent 0d4be35adbb10c4eb8983ec1c3665bac09e9ef43 zeroconf: remove whitespace around = for named parameters diff --git a/hgext/zeroconf/Zeroconf.py b/hgext/zeroconf/Zeroconf.py --- a/hgext/zeroconf/Zeroconf.py +++ b/hgext/zeroconf/Zeroconf.py @@ -647,7 +647,7 @@ class DNSOutgoing(object): """Object representation of an outgoing packet""" - def __init__(self, flags, multicast = 1): + def __init__(self, flags, multicast=1): self.finished = 0 self.id = 0 self.multicast = multicast @@ -1629,7 +1629,7 @@ out.id = msg.id self.send(out, addr, port) - def send(self, out, addr = _MDNS_ADDR, port = _MDNS_PORT): + def send(self, out, addr=_MDNS_ADDR, port=_MDNS_PORT): """Sends an outgoing packet.""" # This is a quick test to see if we can parse the packets we generate #temp = DNSIncoming(out.packet())