aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-01 20:32:12 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-01 20:32:12 +0100
commit56c63fe7f28b196310655b3a036fa4e3dd2aa1db (patch)
tree9c7aacd28ce343f57db36f72c0b5b1ec697ce6d7
parent19fb9557f8b72829d4fe8a734ae2a709f8af4aea (diff)
logging cleanup
-rw-r--r--gsm_call_fsm.py3
-rw-r--r--mncc_sock.py1
2 files changed, 1 insertions, 3 deletions
diff --git a/gsm_call_fsm.py b/gsm_call_fsm.py
index 2cb758e..d559def 100644
--- a/gsm_call_fsm.py
+++ b/gsm_call_fsm.py
@@ -15,7 +15,7 @@ class GsmCallFsm(pykka.ThreadingActor):
return GsmCallFsm.last_callref;
def _printstatechange(self, e):
- print 'GsmCallFsm(%s): event: %s, src: %s, dst: %s' % (self.name, e.event, e.src, e.dst)
+ print 'GsmCallFsm(%s, %u): event: %s, %s -> %s' % (self.name, self.callref, e.event, e.src, e.dst)
def _onmncc_setup_req(self, e):
msg = mncc_msg(msg_type = mncc.MNCC_SETUP_REQ, callref = self.callref,
@@ -23,7 +23,6 @@ class GsmCallFsm(pykka.ThreadingActor):
calling = mncc_number(self.calling),
called = mncc_number(self.called))
self.mncc_ref.tell({'type': 'send', 'msg': msg})
- print 'GsmCallFsm(%s): mncc_setup_req event: %s, src: %s, dst: %s' % (self.name, e.event, e.src, e.dst)
def _onmncc_setup_cnf(self, e):
# send MNCC_SETUP_COMPL_REQ to MNCC interface, causing
diff --git a/mncc_sock.py b/mncc_sock.py
index 6680938..19dab4c 100644
--- a/mncc_sock.py
+++ b/mncc_sock.py
@@ -36,7 +36,6 @@ class MnccSocket(object):
def recv(self):
data = self.sock.recv(1500)
- print 'received "%s"' % data
ms = mncc_msg()
ms.receive(data)
return ms