summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-15 20:16:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-11-15 21:29:34 +0100
commited2b66f02396df322a3dfb6db24b2caa2dfb979a (patch)
treeb3788d854958d6e5404791bbfb49026c09578d2d /SConstruct
parent677e95d8d189a62e6473b43989012a8258f193a4 (diff)
Improve code style of generated headers
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 2 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 7a28a1a64c..28bc85da33 100644
--- a/SConstruct
+++ b/SConstruct
@@ -366,7 +366,7 @@ if selected_platform in platform_list:
sys.modules.pop('detect')
env.module_list = []
- env.doc_class_path={}
+ env.doc_class_path = {}
for x in module_list:
if not env['module_' + x + '_enabled']:
@@ -382,11 +382,10 @@ if selected_platform in platform_list:
doc_classes = config.get_doc_classes()
doc_path = config.get_doc_path()
for c in doc_classes:
- env.doc_class_path[c]="modules/"+x+"/"+doc_path
+ env.doc_class_path[c] = "modules/" + x + "/" + doc_path
except:
pass
-
sys.path.remove(tmppath)
sys.modules.pop('config')