From 67e45096c833c8be84840e17d8054e3e04f4193c Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 6 Dec 2019 11:04:57 -0700 Subject: Specify self for internal setup method (#14008) --- var/spack/repos/builtin/packages/lua/package.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py index 0dac18d52c..3c27785f33 100644 --- a/var/spack/repos/builtin/packages/lua/package.py +++ b/var/spack/repos/builtin/packages/lua/package.py @@ -118,8 +118,8 @@ class Lua(Package): return lua_patterns, lua_cpatterns def setup_dependent_build_environment(self, env, dependent_spec): - lua_patterns, lua_cpatterns = _setup_dependent_env_helper( - self, env, dependent_spec) + lua_patterns, lua_cpatterns = self._setup_dependent_env_helper( + env, dependent_spec) env.set('LUA_PATH', ';'.join(lua_patterns), separator=';') env.set('LUA_CPATH', ';'.join(lua_cpatterns), separator=';') @@ -127,8 +127,8 @@ class Lua(Package): def setup_dependent_run_environment(self, env, dependent_spec): # For run time environment set only the path for dependent_spec and # prepend it to LUAPATH - lua_patterns, lua_cpatterns = _setup_dependent_env_helper( - self, env, dependent_spec) + lua_patterns, lua_cpatterns = self._setup_dependent_env_helper( + env, dependent_spec) if dependent_spec.package.extends(self.spec): env.prepend_path('LUA_PATH', ';'.join(lua_patterns), separator=';') -- cgit v1.2.3-70-g09d2