~nuclearbob/utah/send-call

« back to all changes in this revision

Viewing changes to ofono-server/ofono-server

  • Committer: Max Brustkern
  • Date: 2013-08-23 16:37:24 UTC
  • Revision ID: max@canonical.com-20130823163724-jcujxje55kviy9wj
Explaining sleep

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        if self.get_call_state() == 'active':
83
83
            logging.info('Active call present')
84
84
            self.hangup_call()
 
85
            # Hangup returns before the call actually hangs up
85
86
            logging.info(
86
87
                'Sleeping %d seconds to let call hang up', hanguptime)
87
88
        sleep(hanguptime)