summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-07-20 18:22:52 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-07-20 18:22:52 +0200
commit93948cd0f43cd806bd1d92dd18465fe051cfbcc0 (patch)
treefc072cb79dd33fbe5120e5d210dfbf766c892e60
parent0538f7193a16e86751e2e0ae865c4361fd1d4f94 (diff)
downloadportato-93948cd0f43cd806bd1d92dd18465fe051cfbcc0.tar.gz
portato-93948cd0f43cd806bd1d92dd18465fe051cfbcc0.tar.bz2
portato-93948cd0f43cd806bd1d92dd18465fe051cfbcc0.zip
Fixed file naming if portage-configs are directories
Diffstat (limited to '')
-rw-r--r--portato/backend/flags.py4
1 files changed, 2 insertions, 2 deletions
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"))