~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 13:13:12 UTC
  • Revision ID: max@canonical.com-20130823131312-y8lkkc8n6u7eqgfa
Removed indentation weirdness

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    def hangup_call(self):
64
64
        """Hang up all currently active calls."""
65
65
        for path, properties in self.manager.GetCalls():
66
 
            call = dbus.Interface(self.bus.get_object(
67
 
                'org.ofono', path), 'org.ofono.VoiceCall')
 
66
            obj = self.bus.get_object('org.ofono', path)
 
67
            call = dbus.Interface(obj, 'org.ofono.VoiceCall')
68
68
            logging.info('Hanging up')
69
69
            call.Hangup()
70
70