All pastes #269434 Raw Edit

Someone

public text v1 · immutable
·published 2006-12-06 16:17 UTC
rendered paste body
--- a/conary/build/loadrecipe.py        Tue Dec 05 16:14:51 2006 -0500
+++ b/conary/build/loadrecipe.py        Wed Dec 06 11:17:46 2006 -0500
@@ -473,7 +473,7 @@ def loadInstalled(troveSpec, label=None)
     C{[conary.rpath.com@rpl:shadow, conary.rpath.com@rpl:devel]}
     """

-    callerGlobals = inspect.stack()[1][0].f_globals
+    callerGlobals = sys._getframe(1).f_globals
     _loadRecipe(troveSpec, label, callerGlobals, True)