~brian.curtin/ubuntu-sso-client/py3-iter-removal

« back to all changes in this revision

Viewing changes to ubuntu_sso/gtk/gui.py

  • Committer: Brian Curtin
  • Date: 2012-06-22 20:28:49 UTC
  • mfrom: (972.2.2 ubuntu-sso-client-iter)
  • Revision ID: brian.curtin@canonical.com-20120622202849-rtueougc324et7ki
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
371
371
 
372
372
    def _setup_signals(self):
373
373
        """Bind signals to callbacks to be able to test the pages."""
374
 
        for signal, method in self._signals.iteritems():
 
374
        for signal, method in self._signals.items():
375
375
            actual = self._signals_receivers.get(signal)
376
376
            if actual is not None:
377
377
                msg = 'Signal %r is already connected with %r.'
709
709
        if os.path.exists(self._captcha_filename):
710
710
            os.remove(self._captcha_filename)
711
711
 
712
 
        for signal, match in self._signals_receivers.iteritems():
 
712
        for signal, match in self._signals_receivers.items():
713
713
            self.backend.disconnect_from_signal(signal, match)
714
714
 
715
715
        # hide the main window