[SEBA-450] (part 2)
Add tox testing support on additional XOS library modules:
- xos-api
- xos-kafka (has no tests)
- xos-migrate (has no tests)
- xos-synchronizer
Change-Id: I98195bc9747971d3515882d517affe058dd86ac5
diff --git a/lib/xos-genx/xosgenx/generator.py b/lib/xos-genx/xosgenx/generator.py
index ec21d34..707f87b 100644
--- a/lib/xos-genx/xosgenx/generator.py
+++ b/lib/xos-genx/xosgenx/generator.py
@@ -86,7 +86,7 @@
input = ""
for fname in files:
with open(fname) as infile:
- line_map.append( (len(input.split("\n")), fname) )
+ line_map.append((len(input.split("\n")), fname))
input += infile.read()
return (input, line_map)
@@ -335,7 +335,7 @@
validator = XProtoValidator(v.models, line_map)
validator.validate()
if validator.errors:
- if args.strict_validation or (args.verbosity>=0):
+ if args.strict_validation or (args.verbosity >= 0):
validator.print_errors()
if args.strict_validation:
sys.exit(-1)