diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-03-18 21:39:09 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-03-18 21:39:09 +0100 |
commit | e942cac568e392b29064b01166eec20441650f99 (patch) | |
tree | d774659b7d99cb146fc44a9a3f171b9fac06319a /portato/backend/catapult | |
parent | cd3d8b22b6a7073250f5698d5d8b397106f9686e (diff) | |
download | portato-e942cac568e392b29064b01166eec20441650f99.tar.gz portato-e942cac568e392b29064b01166eec20441650f99.tar.bz2 portato-e942cac568e392b29064b01166eec20441650f99.zip |
Fixed new_use_flag creation error
Diffstat (limited to '')
-rw-r--r-- | portato/backend/catapult/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/backend/catapult/package.py b/portato/backend/catapult/package.py index e2dd54e..ea5cdda 100644 --- a/portato/backend/catapult/package.py +++ b/portato/backend/catapult/package.py @@ -39,9 +39,9 @@ class CatapultPackage(Package): for flag in flags: if flag[0] == "~": - nflags.append(flag[1:], True) + nflags.append((flag[1:], True)) else: - nflags.append(flag, False) + nflags.append((flag, False)) return nflags @@ -116,7 +116,7 @@ class CatapultPackage(Package): return [str(x) for x in self.proxy.get_matched_dep_packages(self.get_cpv(), self._new_flags())] def get_dep_packages (self, depvar = ["RDEPEND", "PDEPEND", "DEPEND"], with_criterions = False): - pkgs = self.proxy.get_dep_packages(self.get_cpv(), depvar, self.get_new_use_flags()) + pkgs = self.proxy.get_dep_packages(self.get_cpv(), depvar, self._new_flags()) if not with_criterions: return [str(x) for x,y in pkgs] |