extreme measures to appease last pep8 complaint

a singly-parenthesized 'if' condition will always line up with the 'then'
body, won't it
This commit is contained in:
Brian Warner 2018-06-16 16:22:14 -07:00
parent dada79d85c
commit 1444e32746

View File

@ -11,8 +11,9 @@ def handle_welcome(welcome, relay_url, my_version, stderr):
# Only warn if we're running a release version (e.g. 0.0.6, not
# 0.0.6+DISTANCE.gHASH). Only warn once.
if ("current_cli_version" in welcome and "+" not in my_version and
welcome["current_cli_version"] != my_version):
if (("current_cli_version" in welcome and
"+" not in my_version and
welcome["current_cli_version"] != my_version)):
print(
("Warning: errors may occur unless both sides are running the"
" same version"),