/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
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user