D1833: style: remove multiple statement on a single line in zeroconf
lothiraldan (Boris Feld)
phabricator at mercurial-scm.org
Sun Jan 14 14:36:20 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG31451f3f4b56: style: remove multiple statement on a single line in zeroconf (authored by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1833?vs=4750&id=4821
REVISION DETAIL
https://phab.mercurial-scm.org/D1833
AFFECTED FILES
hgext/zeroconf/Zeroconf.py
CHANGE DETAILS
diff --git a/hgext/zeroconf/Zeroconf.py b/hgext/zeroconf/Zeroconf.py
--- a/hgext/zeroconf/Zeroconf.py
+++ b/hgext/zeroconf/Zeroconf.py
@@ -1613,7 +1613,8 @@
_DNS_TTL, service.address))
service = self.services.get(question.name.lower(), None)
- if not service: continue
+ if not service:
+ continue
if (question.type == _TYPE_SRV or
question.type == _TYPE_ANY):
To: lothiraldan, #hg-reviewers, pulkit, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list