From a5426b5428e48663ad13a1a1388a3a29f0f22fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Fri, 9 Dec 2005 09:41:30 +0000 Subject: [PATCH] ... --- pisi/actionsapi/get.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pisi/actionsapi/get.py b/pisi/actionsapi/get.py index 4bb491be..eb91cfdd 100644 --- a/pisi/actionsapi/get.py +++ b/pisi/actionsapi/get.py @@ -12,6 +12,7 @@ # Standart Python Modules import os +import sys import gettext __trans = gettext.translation('pisi', fallback=True) @@ -43,12 +44,8 @@ def curKERNEL(): versionString = file("/proc/version").readline() return versionString.split()[2] -#FIXME: misleading name, what does this mean? -#we want the "pythonlibdir" def curPYTHON(): ''' returns currently used python's version''' - # the method of reading symlink name was totally lame :) -- exa - import sys (a, b, c, x, y) = sys.version_info return 'python%s.%s' % (a, b)