~mvo/ubuntu-sso-client/strawman-lp711413

« back to all changes in this revision

Viewing changes to ubuntu_sso/main/windows.py

  • Committer: Alejandro J. Cura
  • Date: 2011-06-22 21:09:51 UTC
  • mto: This revision was merged to the branch mainline in revision 722.
  • Revision ID: alecu@canonical.com-20110622210951-yf6hhhkefzraw796
broken signals?

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import pdb
1
2
# -*- coding: utf-8 -*-
2
3
# Author: Manuel de la Pena <manuel@canonical.com>
3
4
#
557
558
    @wraps(function)
558
559
    def callback_wrapper(*args, **kwargs):
559
560
        """Return the result of the callback if present."""
 
561
        pdb.set_trace() ############################## Breakpoint ##############################
560
562
        callback = getattr(args[0], function.func_name + '_cb', None)
561
563
        if callback is not None:
562
564
            fixed_args = args[1:]
748
750
    @signal
749
751
    def on_credentials_found(self, app_name, credentials):
750
752
        """Signal thrown when the credentials are found."""
 
753
        pdb.set_trace() ############################## Breakpoint ##############################
751
754
 
752
755
    @signal
753
756
    def on_credentials_error(self, app_name, error_message, detailed_error):