diff src/memory/sqlite.py @ 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 84a6e83157c2
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