From a3f4507b0196d5b65b432facabfdd3aa6a04c648 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Fri, 18 Mar 2005 18:39:59 +0000 Subject: [PATCH] Handle situations where the inspect module can't tell Memoizer what the sourcefile is. (Chad Austin) git-svn-id: http://scons.tigris.org/svn/scons/trunk@1258 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Memoize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/SCons/Memoize.py b/src/engine/SCons/Memoize.py index 55a10bac..afa77ee8 100644 --- a/src/engine/SCons/Memoize.py +++ b/src/engine/SCons/Memoize.py @@ -796,7 +796,7 @@ else: import inspect # It's OK, can't get here for Python < 2.1 superinitcode = compile( "lambda self, *args, **kw: MPI(self, cls, args, kw)", - inspect.getsourcefile(_MeMoIZeR_superinit), + inspect.getsourcefile(_MeMoIZeR_superinit) or '', "eval") superinit = eval(superinitcode, {'cls':cls, -- 2.26.2