From 1830ab94e4faac33da1392bf7d3371976ab077d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Thu, 8 Dec 2005 22:02:15 +0000 Subject: [PATCH] * some txn fixes --- pisi/packagedb.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pisi/packagedb.py b/pisi/packagedb.py index cc407204..df3792ba 100644 --- a/pisi/packagedb.py +++ b/pisi/packagedb.py @@ -154,11 +154,11 @@ def get_rev_deps(name): return [] -def remove_package(name): +def remove_package(name, txn = None): # remove the guy from the tracking databases - inst_packagedb.remove_package(name) - if thirdparty_packagedb.has_package(name): - thirdparty_packagedb.remove_package(name) + inst_packagedb.remove_package(name, txn) + if thirdparty_packagedb.has_package(name, txn): + thirdparty_packagedb.remove_package(name, txn) # tracking databases for non-repository information