diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-03-11 22:16:06 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-03-11 22:16:06 +0100 |
commit | 232950edbb62ebdd7e1289612d56db6950cbfdd2 (patch) | |
tree | a95f0b5ad3a587c0c8ac347cdf9f2f64dc0145c8 /portato/backend/flags.py | |
parent | e5d7bb56758bdc465bf6e5dd0c481362f30e63e4 (diff) | |
download | portato-232950edbb62ebdd7e1289612d56db6950cbfdd2.tar.gz portato-232950edbb62ebdd7e1289612d56db6950cbfdd2.tar.bz2 portato-232950edbb62ebdd7e1289612d56db6950cbfdd2.zip |
Updated catapult stuff
Diffstat (limited to 'portato/backend/flags.py')
-rw-r--r-- | portato/backend/flags.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/portato/backend/flags.py b/portato/backend/flags.py index 61d27aa..163a4f7 100644 --- a/portato/backend/flags.py +++ b/portato/backend/flags.py @@ -160,9 +160,8 @@ def generate_path (cpv, exp): @returns: rendered path @rtype string""" - cat, pkg, ver, rev = system.split_cpv(cpv) - if exp.find("$(") != -1: + cat, pkg, ver, rev = system.split_cpv(cpv) exp = exp.replace("$(cat)",cat).\ replace("$(pkg)",pkg).\ replace("$(cat-1)",cat.split("-")[0]).\ |