diff options
| author | Matthias Hoelzl <tc@xantira.com> | 2017-09-14 14:34:53 +0200 |
|---|---|---|
| committer | Matthias Hoelzl <tc@xantira.com> | 2017-09-16 04:18:14 +0200 |
| commit | f3745a23be30fa8ef0889db82a6de75dc02f1f7d (patch) | |
| tree | 9a6fc82359eee4980d1b8dcecb4970ba8f03d9aa /SConstruct | |
| parent | 62cb43bb8dec8f5078012b58ff06a2077078565f (diff) | |
| download | redot-engine-f3745a23be30fa8ef0889db82a6de75dc02f1f7d.tar.gz | |
Fix errors in Python 3 build
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 14 |
1 files changed, 7 insertions, 7 deletions
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) |
