~mandel/ubuntu-sso-client/pinned-certs

« back to all changes in this revision

Viewing changes to ubuntu_sso/qt/setup_account_page.py

  • Committer: Natalia B. Bidart
  • Date: 2012-03-13 03:10:00 UTC
  • mto: (846.22.36 ubuntu-sso-client)
  • mto: This revision was merged to the branch mainline in revision 950.
  • Revision ID: natalia.bidart@canonical.com-20120313031000-jbiapseqwunpxiod
Fixed tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
322
322
        self.captcha_image = pixmap_image
323
323
        self.on_captcha_refresh_complete()
324
324
 
325
 
    def on_captcha_generation_error(self, error, *args, **kwargs):
 
325
    @log_call(logger.error)
 
326
    def on_captcha_generation_error(self, app_name, error):
326
327
        """An error ocurred."""
327
 
        logger.error('Got error on captcha generation: %s', error)
328
328
        self.show_error(CAPTCHA_LOAD_ERROR)
329
329
        self.on_captcha_refresh_complete()
330
330