[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:18:23 UTC 2011
The following commit has been merged in the debian branch:
commit e3ba4354600428558a129709dde9469b607ad2a7
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Mon Sep 7 00:19:24 2009 +0200
opimd: Calls: fix possible traceback on deleting
diff --git a/framework/subsystems/opimd/pimd_calls.py b/framework/subsystems/opimd/pimd_calls.py
index da96fdc..88a92d5 100644
--- a/framework/subsystems/opimd/pimd_calls.py
+++ b/framework/subsystems/opimd/pimd_calls.py
@@ -357,7 +357,7 @@ class CallDomain(Domain, GenericDomain):
self.check_entry_id(num_id)
call = self._entries[num_id].get_fields(self._entries[num_id]._field_idx)
- if call['New'] and not call['Answered'] and call['Direction'] == 'in':
+ if call.get('New') and not call.get('Answered') and call.get('Direction') == 'in':
self._new_missed_calls -= 1
self.NewMissedCalls(self._new_missed_calls)
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list