changeset 593:70bae685d05c

core: added forgotten errback in sqlite's deleteProfile
author Goffi <goffi@goffi.org>
date Mon, 21 Jan 2013 00:59:50 +0100
parents e5a875a3311b
children e629371a28d3
files src/memory/sqlite.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/memory/sqlite.py	Fri Jan 18 17:55:35 2013 +0100
+++ b/src/memory/sqlite.py	Mon Jan 21 00:59:50 2013 +0100
@@ -115,6 +115,7 @@
         del self.profiles[name]
         d = self.dbpool.runQuery("DELETE FROM profiles WHERE name = ?", (name, ))
         d.addCallback(lambda ignore: info(_("Profile [%s] deleted") % name))
+        d.addErrback(deletionError)
         return d
 
     #Params