diff --git a/test/integration/cleanup_rax.py b/test/integration/cleanup_rax.py old mode 100644 new mode 100755 index f872e9458d..5c757f53c5 --- a/test/integration/cleanup_rax.py +++ b/test/integration/cleanup_rax.py @@ -54,8 +54,8 @@ def authenticate(): def prompt_and_delete(item, prompt, assumeyes): if not assumeyes: assumeyes = raw_input(prompt).lower() == 'y' - assert (hasattr(item, 'delete') or hasattr(item, 'terminate'), - "Class <%s> has no delete or terminate attribute" % item.__class__) + assert hasattr(item, 'delete') or hasattr(item, 'terminate'), \ + "Class <%s> has no delete or terminate attribute" % item.__class__ if assumeyes: if hasattr(item, 'delete'): item.delete()