From 9e5d14fd6fe250f1239928e51fe5430b14c9bc9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 6 Sep 2010 17:14:39 +0200 Subject: Handle portage-2.1.9 and above as portage-2.2 --- portato/backend/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato') diff --git a/portato/backend/portage/__init__.py b/portato/backend/portage/__init__.py index e559f9e..5bd324f 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): +if VERSION >= (2, 2) or VERSION >= (2, 1, 9): 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