aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-10-18 23:21:49 -0700
committerMatt Turner <mattst88@gentoo.org>2020-10-19 09:40:38 -0700
commit49fbbf6fd6aff57b23bf38d5545f0b78a5187501 (patch)
tree343c4391d1144e4c71f46795179619c081eb5e07 /catalyst/base
parentcatalyst: Use early return to unindent code (diff)
downloadcatalyst-49fbbf6fd6aff57b23bf38d5545f0b78a5187501.tar.gz
catalyst-49fbbf6fd6aff57b23bf38d5545f0b78a5187501.tar.bz2
catalyst-49fbbf6fd6aff57b23bf38d5545f0b78a5187501.zip
catalyst: Drop outdated comment
We don't use os.system anymore. We pass self.env to Popen, so the comment isn't accurate. Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'catalyst/base')
-rw-r--r--catalyst/base/stagebase.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 48157837..532f7133 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1307,11 +1307,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
print_traceback=False)
def setup_environment(self):
- """
- Modify the current environment. This is an ugly hack that should be
- fixed. We need this to use the os.system() call since we can't
- specify our own environ
- """
log.debug('setup_environment(); settings = %r', self.settings)
for x in list(self.settings):
log.debug('setup_environment(); processing: %s', x)