[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:36 UTC 2011
The following commit has been merged in the debian branch:
commit c861e825b168bdd4ef555397ed31cf348c13331d
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Tue Oct 6 19:20:28 2009 +0200
opimd: ogsmd-Calls: change floats into ints
diff --git a/framework/subsystems/opimd/pimb_ogsmd_calls.py b/framework/subsystems/opimd/pimb_ogsmd_calls.py
index d3bfb5b..421f865 100644
--- a/framework/subsystems/opimd/pimb_ogsmd_calls.py
+++ b/framework/subsystems/opimd/pimb_ogsmd_calls.py
@@ -99,12 +99,12 @@ class OgsmdCallsBackend(Backend):
self.props[line]['Direction'] = 'out'
elif call_status == "active":
self.props[line]['Answered'] = 1
- self.props[line]['Timestamp'] = time.time()
+ self.props[line]['Timestamp'] = int(time.time())
elif call_status == "release":
if self.props[line].has_key('Timestamp'):
- self.props[line]['Duration'] = time.time() - self.props[line]['Timestamp']
+ self.props[line]['Duration'] = int(time.time() - self.props[line]['Timestamp'])
else:
- self.props[line]['Timestamp'] = time.time()
+ self.props[line]['Timestamp'] = int(time.time())
self.props[line]['Timezone'] = time.tzname[time.daylight]
self.props[line]['New']=1
if self.props[line]['Direction']=='in' and not self.props[line]['Answered']:
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list