diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-09-06 17:09:36 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-09-06 17:09:36 +0200 |
commit | 7e345560e77158b6b8b301abcaf959c1e832d668 (patch) | |
tree | 8f9baa8e15b6d9df80bd6e989de5a5293c3eab0a /portato/backend | |
parent | 7614c3c1b33441c785cc204b7d47529ed8f9c473 (diff) | |
download | portato-7e345560e77158b6b8b301abcaf959c1e832d668.tar.gz portato-7e345560e77158b6b8b301abcaf959c1e832d668.tar.bz2 portato-7e345560e77158b6b8b301abcaf959c1e832d668.zip |
Gnah - changing portage-API
Diffstat (limited to '')
-rw-r--r-- | portato/backend/portage/settings_22.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/portato/backend/portage/settings_22.py b/portato/backend/portage/settings_22.py index ba4f1e8..325e4e3 100644 --- a/portato/backend/portage/settings_22.py +++ b/portato/backend/portage/settings_22.py @@ -12,7 +12,11 @@ from __future__ import absolute_import -import portage.sets +try: + import portage.sets as psets +except ImportError: + import portage._sets as psets + from .settings import PortageSettings class PortageSettings_22 (PortageSettings): @@ -24,4 +28,4 @@ class PortageSettings_22 (PortageSettings): def load (self): PortageSettings.load(self) - self.setsconfig = portage.sets.load_default_config(self.settings, self.trees[self.settings["ROOT"]]) + self.setsconfig = psets.load_default_config(self.settings, self.trees[self.settings["ROOT"]]) |