From 1444e32746f6ac9f420f9ff187ce2381b5aebcdb Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 16 Jun 2018 16:22:14 -0700 Subject: [PATCH] extreme measures to appease last pep8 complaint a singly-parenthesized 'if' condition will always line up with the 'then' body, won't it --- src/wormhole/cli/welcome.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wormhole/cli/welcome.py b/src/wormhole/cli/welcome.py index 32c1f84..2380ce8 100644 --- a/src/wormhole/cli/welcome.py +++ b/src/wormhole/cli/welcome.py @@ -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"),