Aha! That is indeed cleaner. Thank you TMC!
--
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1250#issuecomment-1465384789
You are receiving this because you are subscribed to this thread.
Message ID:
Closed #1250 as completed.
--
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1250#event-8726675780
You are receiving this because you are subscribed to this thread.
Message ID: ___
Ohrrpgce mailing list
On my machine I'm able to `import SCons` in python3 (but not in python2,
although I also have scons installed for python2). I don't know what the
difference is.
The workaround you added is a correct fix, except the comment isn't.
Transpiling will still work because the import should succeed
teeemcee
2023-03-12 18:05:58 -0700 (Sun, 12 Mar 2023)
63
A slightly cleaner fix for bug #1250: can't import SCons.Script
---
U wip/ohrbuild.py
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
james
2023-03-12 11:13:12 -0700 (Sun, 12 Mar 2023)
145
In ohrbuild.py print a warning instead of failing completely when unable to
import from SCons.Script for transpiling
(Workaround for bug #1250 )
---
U wip/ohrbuild.py
___
Ohrrpgce mailing list
Oh! Duh! My `~/src/ohr/wip` was out of date. When I updated it, I can reproduce
the error message there
This breakage started with svn rev 13158 which added this line to `ohrbuild.py`
```
from SCons.Script import Mkdir, Copy, Delete, Action #These create Action
nodes
```
I believe that