Removed redundant parenthesis

This commit is contained in:
Tyler Johnson 2019-08-22 12:39:14 -06:00
parent 802235d003
commit 11c11179c7
No known key found for this signature in database
GPG key ID: 691E31397E27D004

View file

@ -212,7 +212,7 @@ class CloudTest(ShellCase):
for q in query:
# Verify but this is a new name and not a shutting down ec2 instance
if q.startswith(self.instance_name) and not (q == self.instance_name) \
and not (q.split('-')[-1].startswith('DEL')):
and not q.split('-')[-1].startswith('DEL'):
return q
def _ensure_deletion(self, instance_name=None):