From: Anil-Kumar Vengalil Date: Thu, 29 Apr 2010 12:29:28 +0000 (+0000) Subject: bug fix: here commit should be outside the if test X-Git-Tag: sfa-0.9-11~6^2~18 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=0ff64f9d817f74fecab22be3ee4eb7538dc44ed6 bug fix: here commit should be outside the if test --- 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)