From 9db89dab613718eabd50f54540111093141060c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 6 Sep 2010 17:16:41 +0200 Subject: Handle portage-2.1.8 and above as portage-2.2 --- portato/backend/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portato/backend/portage/__init__.py b/portato/backend/portage/__init__.py index 5bd324f..11bdd89 100644 --- a/portato/backend/portage/__init__.py +++ b/portato/backend/portage/__init__.py @@ -17,7 +17,7 @@ from portage import VERSION as PV VERSION = tuple(map(int, (x.split("_")[0] for x in PV.split(".")))) -if VERSION >= (2, 2) or VERSION >= (2, 1, 9): +if VERSION >= (2, 2) or VERSION >= (2, 1, 8): debug("Using portage-2.2") from .system_22 import PortageSystem_22 as PortageSystem from .package_22 import PortagePackage_22 as PortagePackage -- cgit v1.2.3