From cc1985dd6ffdc53f4c0b8e639dbfc4fc37f457b4 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 29 Oct 2012 15:46:13 +0400 Subject: [PATCH] Fix detect version --- calculate/lib/variables/X11.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/calculate/lib/variables/X11.py b/calculate/lib/variables/X11.py index 389f9ad..1780cdb 100644 --- a/calculate/lib/variables/X11.py +++ b/calculate/lib/variables/X11.py @@ -127,8 +127,7 @@ class VariableOsX11Standart(ReadonlyVariable): installed = isPkgInstalled(themePkg, prefix=self.Get('cl_chroot_path')) if installed and \ - getTupleVersion(installed[0]['PV'].startswith('12')) < \ - getTupleVersion("12"): + getTupleVersion(installed[0]['PV']) < getTupleVersion("12"): res = [(1024,600), (1024,768), (1280,1024), (1280,800), (1366,768), (1440,900),