core.Call.__repr__() includes handle, service and numbers now.

git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@422 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
htgoebel 2005-01-22 13:20:42 +00:00
parent 1c5da4b790
commit dc6217c64a
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,8 @@ class Call:
def __repr__(self):
# todo: add service, call_from, call_to
return repr(self._handle)
return ('Call(%(_handle)x, service=%(service)s, '
'from_nr=%(from_nr)s, to_nr%(to_nr)s)') % self.__dict__
###--- general --###