From 93948cd0f43cd806bd1d92dd18465fe051cfbcc0 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sun, 20 Jul 2008 18:22:52 +0200 Subject: Fixed file naming if portage-configs are directories --- portato/backend/flags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'portato/backend/flags.py') diff --git a/portato/backend/flags.py b/portato/backend/flags.py index 018e804..fc99651 100644 --- a/portato/backend/flags.py +++ b/portato/backend/flags.py @@ -492,7 +492,7 @@ def set_masked (pkg, masked = True): path = CONST.unmask_path() if is_dir: - file = os.path.join(path, generate_path(cpv, CONFIG["usefile"])) + file = os.path.join(path, generate_path(cpv, CONFIG["maskfile"])) else: file = path @@ -688,7 +688,7 @@ def set_testing (pkg, enable): newTesting[cpv].append((file, line)) else: if CONST.testing_path_is_dir(): - file = os.path.join(CONST.testing_path(), CONFIG["testingfile"]) + file = os.path.join(CONST.testing_path(), generate_path(cpv, CONFIG["testingfile"])) else: file = CONST.testing_path() newTesting[cpv].append((file, "-1")) -- cgit v1.2.3-54-g00ecf