Fix pep8 violations in Common
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 16 Mar 2015 04:13:50 +0000 (00:13 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 16 Mar 2015 04:13:50 +0000 (00:13 -0400)
Change-Id: I79f525bf8abb5bc0149b54e13921ed1ab280c447
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
test/tools/Robot_Tool/libraries/Common.py

index 000b2b868eaea18df04aa299b461f2960e1f0ff6..6eaa5a4ed5f1598d78b7c6e24cd2c3c3a5cb8ee9 100644 (file)
@@ -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