summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/backend/__init__.py4
-rw-r--r--portato/backend/portage/__init__.py3
2 files changed, 3 insertions, 4 deletions
diff --git a/portato/backend/__init__.py b/portato/backend/__init__.py
index 1f62d6b..4a4144a 100644
--- a/portato/backend/__init__.py
+++ b/portato/backend/__init__.py
@@ -56,10 +56,6 @@ def load_system ():
debug("Setting Portage System")
from .portage import PortageSystem
_sys = PortageSystem ()
- elif SYSTEM == "catapult":
- debug("Setting Catapult System")
- from .catapult import CatapultSystem
- _sys = CatapultSystem()
else:
raise InvalidSystemError, SYSTEM
diff --git a/portato/backend/portage/__init__.py b/portato/backend/portage/__init__.py
index 02a4a82..67eebfa 100644
--- a/portato/backend/portage/__init__.py
+++ b/portato/backend/portage/__init__.py
@@ -12,13 +12,16 @@
from __future__ import absolute_import
+from ...helper import debug
from portage import VERSION as PV
VERSION = tuple(map(int, (x.split("_")[0] for x in PV.split("."))))
if VERSION >= (2, 2):
+ debug("Using portage-2.2")
from .system_22 import PortageSystem_22 as PortageSystem
from .package_22 import PortagePackage_22 as PortagePackage
else:
+ debug("Using portage-2.1")
from .system import PortageSystem
from .package import PortagePackage
n/tr.po?h=v0.13.1&id=06a5bea6860df9ead0165eec007f4eabbd13aaf5&follow=1'>Update turkish translationGürkan Gür1-640/+676 2009-08-11Fix handling of slots in /etc/portage/*René 'Necoro' Neumann2-2/+4 2009-08-11Fix package detailsRené 'Necoro' Neumann1-1/+1 2009-08-11Fix GPytage pluginRené 'Necoro' Neumann1-2/+2 2009-08-11Update translationRené 'Necoro' Neumann2-1112/+1120 2009-08-11Update changelogRené 'Necoro' Neumann1-0/+1 2009-08-10Fixed pt_BR translationAlberto Federman Neto1-2/+5 2009-08-10Add credits for translationRené 'Necoro' Neumann2-0/+2