[PATCH] common/waf.py: Fix indentation.

Christian Mauderer list at c-mauderer.de
Wed Dec 19 09:24:54 UTC 2018


From: Christian Mauderer <christian.mauderer at embedded-brains.de>

Python 3 produces an error if indentation is mixed tabs and spaces.
---
 common/waf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/waf.py b/common/waf.py
index 98ce56f..d2cb432 100644
--- a/common/waf.py
+++ b/common/waf.py
@@ -481,7 +481,7 @@ def xml_catalogue(ctx, building):
         # Import using the imp API so the module is reloaded for us.
         #
         import imp
-	sys.path = [top_dir.find_node(doc).abspath()]
+        sys.path = [top_dir.find_node(doc).abspath()]
         mf = imp.find_module('conf')
         sys.path = sp[:]
         try:
-- 
2.19.2




More information about the devel mailing list