From f3745a23be30fa8ef0889db82a6de75dc02f1f7d Mon Sep 17 00:00:00 2001 From: Matthias Hoelzl Date: Thu, 14 Sep 2017 14:34:53 +0200 Subject: Fix errors in Python 3 build --- SConstruct | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index bc89aa7540..f2f1ea57f3 100644 --- a/SConstruct +++ b/SConstruct @@ -367,13 +367,13 @@ if selected_platform in platform_list: if (config.can_build(selected_platform)): config.configure(env) env.module_list.append(x) - try: - 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 - except: - pass + try: + 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 + except: + pass sys.path.remove(tmppath) -- cgit v1.2.3