[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:19:51 UTC 2011


The following commit has been merged in the debian branch:
commit a87c62a83404f367293f062eaab6a4d695b06a5f
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date:   Sun Apr 25 21:09:41 2010 +0200

    opimd: Calls: fix path returned by MissedCall signal
    (...again :P)

diff --git a/framework/subsystems/opimd/pimd_calls.py b/framework/subsystems/opimd/pimd_calls.py
index 2e19cee..468f8b4 100644
--- a/framework/subsystems/opimd/pimd_calls.py
+++ b/framework/subsystems/opimd/pimd_calls.py
@@ -259,13 +259,13 @@ class CallDomain(Domain, GenericDomain):
         @param entry_data List of fields; format is [Key:Value, Key:Value, ...]
         @return Path of the newly created d-bus entry object"""
         #FIXME: move to a better place (function) and fix the reject bug
-	id = self.add(entry_data)
+	path = self.add(entry_data)
         if entry_data.has_key('Direction') and entry_data.has_key('Answered') and \
               entry_data['Direction'] == 'in' and not int(entry_data['Answered']):
             self._new_missed_calls += 1
-            self.MissedCall(_DBUS_PATH_CALLS+ '/' + str(id))
+            self.MissedCall(path)
             self.NewMissedCalls(self._new_missed_calls)
-        return id
+        return path
         
     @dbus_method(_DIN_CALLS, "a{sv}s", "s")
     def GetSingleEntrySingleField(self, query, field_name):

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list