diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-12-11 12:24:26 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-12-11 12:24:26 +0100 |
commit | ddac2d472c5c775d34f316181b674429376f6d16 (patch) | |
tree | e27b6c69bf2aeb5b7c524c743081c908e90afa4a /portato/backend/portage/sets.py | |
parent | cae73021d4789bd468a9fae55acd4e21d46397d5 (diff) | |
download | portato-ddac2d472c5c775d34f316181b674429376f6d16.tar.gz portato-ddac2d472c5c775d34f316181b674429376f6d16.tar.bz2 portato-ddac2d472c5c775d34f316181b674429376f6d16.zip |
Use two different portage.config instances instead of just one: One for global stuff - and one for package related things (e.g. where setcpv() is called).
Also PortageSettings now takes care, that setcpv() is not called multiple times in a row with the same CPV.
This should enhance performance :)
Diffstat (limited to '')
-rw-r--r-- | portato/backend/portage/sets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/backend/portage/sets.py b/portato/backend/portage/sets.py index 24dd89a..4d7df73 100644 --- a/portato/backend/portage/sets.py +++ b/portato/backend/portage/sets.py @@ -77,7 +77,7 @@ class PortageSet (FilterSet): class SystemSet (FilterSet): def get_list(self): - for cp in system.settings.settings.packages: + for cp in system.settings.global_settings.packages: if cp[0] == "*": yield cp[1:] class WorldSet (FilterSet): |