From 9466113c0e054314b59390e7371e1a839a70e6a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Sat, 18 Mar 2006 00:07:41 +0000 Subject: [PATCH] * fix: put it back in :) --- pisi/files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pisi/files.py b/pisi/files.py index ceee2fcb..9175929a 100644 --- a/pisi/files.py +++ b/pisi/files.py @@ -58,8 +58,9 @@ class FilesDB(shelve.LockedDBShelf): def proc(txn): for x in files.list: path = x.path - del x.path + del x.path # don't store redundant attribute in db self.put(path, (pkg_name, x), txn) + x.path = path # store it back in self.txn_proc(proc, txn) def remove_files(self, files, txn = None):