aboutsummaryrefslogtreecommitdiffstats
path: root/services/frontend/base_actions/wait.py
diff options
context:
space:
mode:
authorstark, steven <ss820f@att.com>2018-03-20 15:10:51 -0700
committerstark, steven <ss820f@att.com>2018-03-20 15:10:51 -0700
commit0c1d5d8be71aa8d07c3c43dacc91b04a91ca1b80 (patch)
tree904a3f18dc6f83182129fb1a4f267ca2368b1d32 /services/frontend/base_actions/wait.py
parent71891b3040605103397ffa7fb349215eced3a2c3 (diff)
VVP fixing flake 8 errors during build
modifed files to pass flake8 Change-Id: Id0edd7364aec13d5b01c12f6a9cac03ed3c70d93 Issue-ID: VVP-42 Signed-off-by: stark, steven <ss820f@att.com>
Diffstat (limited to 'services/frontend/base_actions/wait.py')
-rw-r--r--services/frontend/base_actions/wait.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/frontend/base_actions/wait.py b/services/frontend/base_actions/wait.py
index 4434bb1..642f0ab 100644
--- a/services/frontend/base_actions/wait.py
+++ b/services/frontend/base_actions/wait.py
@@ -150,8 +150,8 @@ class Wait:
)
return True
# If failed - count the failure and add the error to list of errors.
- except Exception as e:
- error_msg = "Didn't find CSS Selector " + element_css
+ except Exception:
+ # error_msg = "Didn't find CSS Selector " + element_css
return False
@staticmethod
@@ -210,7 +210,7 @@ class Wait:
"Checking if {} page is loaded. ".format(
session.ice_driver.current_url))
time.sleep(session.wait_until_time_pause)
- except Exception as exception:
+ except Exception:
time.sleep(session.wait_until_time_pause)
continue