~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-23 06:15:42 UTC
  • mto: This revision was merged to the branch mainline in revision 722.
  • Revision ID: alecu@canonical.com-20110623061542-qmmykn0pdtij9lh8
remove pdbs and register to signals

Show diffs side-by-side

added added

removed removed

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