forwarded 477912 http://scons.tigris.org/issues/show_bug.cgi?id=2024
tag 477912 + upstream
kthxbye
On Fri, Apr 25, 2008 at 06:55:37PM +0200, Cyril Brulebois wrote:
> I noticed that problem while preparing a security upload for Blender,
> that's why I'd like to avoid having to adapt it to the new Variable-way
> of doing things in scons, if possible.
Blender really ought to be updated, the interface is actually being
deprecated, and the patch to fix Blender is completely trival (see
below) and ought to be compatible with older versions of SCons, though
I've not tested that.
I've forwarded this upstream in any case; the issue is that the
compatibility version of BoolOption isn't a module so can't be directly
imported.
--- blender-2.45.orig/tools/btools.py
+++ blender-2.45/tools/btools.py
@@ -1,7 +1,6 @@
import os
import os.path
import SCons.Options
-import SCons.Options.BoolOption
try:
import subprocess
except ImportError:
@@ -12,7 +11,7 @@
import sys
Options = SCons.Options
-BoolOption = SCons.Options.BoolOption
+BoolOption = Options.BoolOption
def print_arguments(args, bc):
if len(args):
--
"You grabbed my hand and we fell into it, like a daydream - or a fever."
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]