From 289b2e2b51d889358c08760cf55ba0fe3936098b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Sun, 13 May 2007 23:53:19 +0000 Subject: [PATCH] /usr/lib/pardus/pisi/itembyrepodb.py:93: Local variable (pisi) not used itembyrepodb.py:13: Imported module (os) not used itembyrepodb.py:14: Imported module (fcntl) not used itembyrepodb.py:15: Imported module (types) not used itembyrepodb.py:22: Imported module (pisi.util) not used --- pisi/itembyrepodb.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pisi/itembyrepodb.py b/pisi/itembyrepodb.py index f010a15b..ed59b29b 100644 --- a/pisi/itembyrepodb.py +++ b/pisi/itembyrepodb.py @@ -10,16 +10,11 @@ # Please read the COPYING file. # -import os -import fcntl -import types - import gettext __trans = gettext.translation('pisi', fallback=True) _ = __trans.ugettext import pisi -import pisi.util as util import pisi.context as ctx import pisi.lockeddbshelve as shelve @@ -90,7 +85,6 @@ class ItemByRepoDB(object): if repo == None: repo = repos assert repo in [all, repos] - import pisi.repodb order = [ 'repo-' + x for x in ctx.repodb.list() ] if repo == all: order += ['trdparty', 'inst']