diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index 8e18e977..330f718e 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -826,7 +826,7 @@ NB: We support only local files (e.g., /a/b/c) and http:// URIs at the moment name = self.args[0] indexuri = self.args[1] else: - name = 'pardus-1' + name = 'pardus' indexuri = 'http://paketler.uludag.org.tr/pardus-1.0/pisi-index.xml' pisi.api.add_repo(name, indexuri) if ctx.ui.confirm(_('Update PISI database for repository %s?') % name): diff --git a/pisi/lockeddbshelve.py b/pisi/lockeddbshelve.py index 7d8affeb..6d9355b4 100644 --- a/pisi/lockeddbshelve.py +++ b/pisi/lockeddbshelve.py @@ -24,7 +24,6 @@ import bsddb3.db as db import bsddb3.dbobj as dbobj #import bsddb3.dbshelve as shelve import pisi.dbshelve as shelve -import pylzma import gettext __trans = gettext.translation('pisi', fallback=True)