* fix: put it back in :)

This commit is contained in:
Eray Özkural
2006-03-18 00:07:41 +00:00
parent 855b5265c2
commit 9466113c0e
+2 -1
View File
@@ -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):