summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-09-06 17:14:39 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-09-06 17:14:39 +0200
commit9e5d14fd6fe250f1239928e51fe5430b14c9bc9b (patch)
treefc0d667c338b4738c95c87dbad04a35b1535bfe5 /portato
parent6a25d98dfbed84d0294fbff6e0db99113c6490b4 (diff)
downloadportato-9e5d14fd6fe250f1239928e51fe5430b14c9bc9b.tar.gz
portato-9e5d14fd6fe250f1239928e51fe5430b14c9bc9b.tar.bz2
portato-9e5d14fd6fe250f1239928e51fe5430b14c9bc9b.zip
Handle portage-2.1.9 and above as portage-2.2
Diffstat (limited to 'portato')
-rw-r--r--portato/backend/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
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