From 0ff64f9d817f74fecab22be3ee4eb7538dc44ed6 Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Thu, 29 Apr 2010 12:29:28 +0000 Subject: [PATCH] bug fix: here commit should be outside the if test --- sfa/util/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/util/table.py b/sfa/util/table.py index 93ca32e7..f6090a03 100644 --- a/sfa/util/table.py +++ b/sfa/util/table.py @@ -98,7 +98,7 @@ class SfaTable(list): sql = " DELETE FROM %s WHERE authority = %s" % \ (self.tablename, record['hrn']) self.db.do(sql) - self.db.commit() + self.db.commit() def insert(self, record): db_fields = self.db_fields(record) -- 2.43.0