[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:56 UTC 2011
The following commit has been merged in the debian branch:
commit 08ffb004cc5971a4e29b2373c7bdc10fcd95171f
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Thu Aug 20 12:06:23 2009 +0200
opimd: Calls: fix copy'n'paste error in Update and Delete
diff --git a/framework/subsystems/opimd/pimd_calls.py b/framework/subsystems/opimd/pimd_calls.py
index ebc28a9..f52e939 100644
--- a/framework/subsystems/opimd/pimd_calls.py
+++ b/framework/subsystems/opimd/pimd_calls.py
@@ -350,7 +350,7 @@ class CallDomain(Domain, GenericDomain):
def Delete(self, rel_path):
num_id = int(rel_path[1:])
- call = self._calls[num_id].get_fields(self._calls[num_id]._field_idx)
+ call = self._entries[num_id].get_fields(self._entries[num_id]._field_idx)
if call['New'] and not call['Answered'] and call['Direction'] == 'in':
self._new_missed_calls -= 1
self.NewMissedCalls(self._new_missed_calls)
@@ -369,10 +369,10 @@ class CallDomain(Domain, GenericDomain):
num_id = int(rel_path[1:])
# Make sure the requested call exists
- if num_id >= len(self._calls) or self._calls[num_id]==None:
+ if num_id >= len(self._entries) or self._entries[num_id]==None:
raise InvalidCallID()
- callif = self._calls[num_id]
+ callif = self._entries[num_id]
call = callif.get_fields(callif._field_idx)
if call.has_key('New') and data.has_key('New') and call.has_key('Answered') and call.has_key('Direction'):
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list