diff --git a/pisi/installdb.py b/pisi/installdb.py index fdd19d78..33561aa4 100644 --- a/pisi/installdb.py +++ b/pisi/installdb.py @@ -57,9 +57,9 @@ def remove(pkg): def purge(pkg): if d.has_key(pkg): (status, version, release) = d[pkg] - f = files_name(pkg, version, release) - if util.check_file(f): + f = files_name(pkg, version, release) + if util.check_file(f): os.unlink(f) - del d[pkg] + del d[pkg]