Looking for str is a mistake because content should only contains Ops and
Filters.  This is a harmless bug but it should be fixed.

Signed-off-by: Michael Goldish <[email protected]>
---
 client/tests/kvm/kvm_config.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py
index e124e27..b6e089b 100755
--- a/client/tests/kvm/kvm_config.py
+++ b/client/tests/kvm/kvm_config.py
@@ -226,7 +226,7 @@ class Parser(object):
             #    filters first.
             for t in content:
                 filename, linenum, obj = t
-                if type(obj) is str:
+                if type(obj) is Op:
                     new_content.append(t)
                     continue
                 elif type(obj) is OnlyFilter:
-- 
1.7.3.4

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to