ui/UIBase.py split the if
This patch splits the if to avoid multiple commands in the same line.
This commit is contained in:
parent
b1a719ad9e
commit
833816cf62
@ -314,7 +314,9 @@ class UIBase:
|
||||
def connecting(self, reposname, hostname, port):
|
||||
"""Log 'Establishing connection to'."""
|
||||
|
||||
if not self.logger.isEnabledFor(logging.INFO): return
|
||||
if not self.logger.isEnabledFor(logging.INFO):
|
||||
return
|
||||
|
||||
displaystr = ''
|
||||
hostname = hostname if hostname else ''
|
||||
port = "%s" % port if port else ''
|
||||
|
Loading…
Reference in New Issue
Block a user