commit: f40238e0c5644db5dcaaab9f0305cc9d62b144a1 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Mon May 18 22:52:36 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Wed May 20 01:49:37 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=f40238e0
catalyst: Remove PythonDir setting Was used to find the arch directory containing, e.g., sparc.py, but all that code is gone now after the modules were converted to TOML. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> catalyst/defaults.py | 1 - catalyst/main.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/catalyst/defaults.py b/catalyst/defaults.py index 404f4892..f6bc1e14 100644 --- a/catalyst/defaults.py +++ b/catalyst/defaults.py @@ -64,7 +64,6 @@ confdefaults = { "options": set(), "pkgdir": "/var/cache/binpkgs", "port_tmpdir": "/var/tmp/portage", - "PythonDir": "./catalyst", "repo_basedir": "/var/db/repos", "repo_name": "gentoo", "repos": "%(storedir)s/repos", diff --git a/catalyst/main.py b/catalyst/main.py index bad712fa..b01d7a6a 100644 --- a/catalyst/main.py +++ b/catalyst/main.py @@ -55,9 +55,6 @@ def parse_config(config_files): else: conf_values[x] = confdefaults[x] - # add our python base directory to use for loading target arch's - conf_values["PythonDir"] = os.path.dirname(os.path.realpath(__file__)) - # print out any options messages for opt in conf_values['options']: if opt in option_messages: