Patchwork D1833: style: remove multiple statement on a single line in zeroconf

login
register
mail settings
Submitter phabricator
Date Jan. 10, 2018, 8:23 a.m.
Message ID <differential-rev-PHID-DREV-6tqzclr7i4rzqyuvsnbz-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26632/
State Superseded
Headers show

Comments

phabricator - Jan. 10, 2018, 8:23 a.m.
lothiraldan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1833

AFFECTED FILES
  hgext/zeroconf/Zeroconf.py

CHANGE DETAILS




To: lothiraldan, #hg-reviewers
Cc: mercurial-devel

Patch

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):