changeset 35629:31451f3f4b56

style: remove multiple statement on a single line in zeroconf Differential Revision: https://phab.mercurial-scm.org/D1833
author Boris Feld <boris.feld@octobus.net>
date Mon, 09 Oct 2017 11:45:21 +0200
parents ab11af15a149
children 6061e54ff81d
files hgext/zeroconf/Zeroconf.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/zeroconf/Zeroconf.py	Mon Oct 09 11:44:02 2017 +0200
+++ b/hgext/zeroconf/Zeroconf.py	Mon Oct 09 11:45:21 2017 +0200
@@ -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):