[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Sat Aug 6 08:17:52 UTC 2011


The following commit has been merged in the debian branch:
commit 17898fc0f73453c11d1b1e8db57f8e8a0cfbc943
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date:   Sat Aug 15 00:06:53 2009 +0200

    opimd: SIM-Messages-FSO: try to fix deleting messages

diff --git a/framework/subsystems/opimd/pimb_sim_messages_fso.py b/framework/subsystems/opimd/pimb_sim_messages_fso.py
index 1969a2c..70027b4 100644
--- a/framework/subsystems/opimd/pimb_sim_messages_fso.py
+++ b/framework/subsystems/opimd/pimb_sim_messages_fso.py
@@ -248,8 +248,12 @@ class SIMMessageBackendFSO(Backend):
     def del_message(self, message_data):
         for (field,value) in message_data:
             if field=='_backend_entry_id':
-                entry_id=int(value)
-        self.gsm_sim_iface.DeleteMessage(entry_id, reply_handler=self.dbus_ok, error_handler=self.dbus_err )
+                entry_ids=value
+        if not isinstance(entry_ids, list):
+            entry_ids = [ entry_ids ]
+        for entry_id in entry_ids:
+            entry_id = int(entry_id)
+            self.gsm_sim_iface.DeleteMessage(entry_id, reply_handler=self.dbus_ok, error_handler=self.dbus_err )
 
     @tasklet.tasklet
     def load_entries(self):

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list