From 6e258ee43ba1dd13d83810e63c393fec53f6a822 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 16 Mar 2015 00:13:50 -0400 Subject: [PATCH] Fix pep8 violations in Common Change-Id: I79f525bf8abb5bc0149b54e13921ed1ab280c447 Signed-off-by: Thanh Ha --- test/tools/Robot_Tool/libraries/Common.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/tools/Robot_Tool/libraries/Common.py b/test/tools/Robot_Tool/libraries/Common.py index 000b2b868e..6eaa5a4ed5 100644 --- a/test/tools/Robot_Tool/libraries/Common.py +++ b/test/tools/Robot_Tool/libraries/Common.py @@ -9,6 +9,7 @@ import collections Common constants and functions for the robot framework. ''' + def collection_should_contain(collection, *members): """ Fail if not every members is in the collection. @@ -21,6 +22,7 @@ def collection_should_contain(collection, *members): else: return True + def combine_strings(*strings): """ Combines the given `strings` together and returns the result. @@ -28,7 +30,7 @@ def combine_strings(*strings): """ result = '' for s in strings: - if isinstance(s,str) or isinstance(s,unicode): + if isinstance(s, str) or isinstance(s, unicode): result += s if result == '': return None -- 2.36.6