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

login
register
mail settings
Submitter phabricator
Date Jan. 14, 2018, 7:36 p.m.
Message ID <4c50695205b8231c746054278d452a27@localhost.localdomain>
Download mbox | patch
Permalink /patch/26745/
State Not Applicable
Headers show

Comments

phabricator - Jan. 14, 2018, 7:36 p.m.
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




To: lothiraldan, #hg-reviewers, pulkit, indygreg
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):