-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/bzrlib/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/bzrlib/debug.pyc

ó
î:ïNc@@s5dZddlmZeƒZd„Zd„ZdS(sSet of flags that enable different debug behaviour.

These are set with eg ``-Dlock`` on the bzr command line or in
~/.bazaar/bazaar.conf debug_flags.

See `bzr help debug-flags` or `bzrlib/help_topics/en/debug-flags.txt`
for a list of the available options.
i(tabsolute_importcC@sGddlm}|jƒ}x$|jdƒD]}tj|ƒq,WdS(s5Turn on debug flags based on the global configurationi(tconfigtdebug_flagsN(tbzrlibRtGlobalStacktgetRtadd(Rtctf((s0/usr/lib/python2.7/dist-packages/bzrlib/debug.pytset_debug_flags_from_configscC@sJddl}ddl}|jd|jd|jƒj|jƒjƒdS(sxPdb using original stdin and stdout.

    When debugging blackbox tests, sys.stdin and sys.stdout are captured for
    test purposes and cannot be used for interactive debugging. This class uses
    the origianl stdin/stdout to allow such use.

    Instead of doing:

       import pdb; pdb.set_trace()

    you can do:

       from bzrlib import debug; debug.set_trace()
    iNtstdintstdout(tpdbtsystPdbt	__stdin__t
__stdout__t	set_tracet	_getframetf_back(RR
((s0/usr/lib/python2.7/dist-packages/bzrlib/debug.pyR)sN(t__doc__t
__future__RtsetRR	R(((s0/usr/lib/python2.7/dist-packages/bzrlib/debug.pyt<module>s		

Copyright © 2017 || Recoded By Mr.Bumblebee