| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/telepathy/ |
Upload File : |
Ñò
gÙLJc @ s% d d k Z d d k Z d „ Z d S( iÿÿÿÿNc C sŠ | d j o d Sy: | i d ƒ o t | d d ƒ } n t | d ƒ } Wn% t j
o } d | | f GHd SX| t _ | t _ d S( sC debug_divert_messages:
@filename: A file to which to divert stdout and stderr or None to do
nothing.
Open the given file for writing and duplicate its file descriptor to
be used for stdout and stderr. This has the effect of closing the previous
stdout and stderr, and sending all messages that would have gone there
to the given file instead.
By default the file is truncated and hence overwritten each time the
process is executed.
If the filename is prefixed with '+' then the file is not truncated and
output is added at the end of the file.
Passing None to this function is guaranteed to have no effect. This is
so you can call it with the recommended usage
debug_divert_messages (os.getenv('MYAPP_LOGFILE'))
and it won't do anything if the environment variable is not set.Nt +i t at ws Can't open logfile '%s' : '%s'( t Nonet
startswitht opent IOErrort syst stdoutt stderr( t filenamet logfilet e( ( s3 /usr/lib/python2.6/site-packages/telepathy/utils.pyt debug_divert_messages s
( t osR R
( ( ( s3 /usr/lib/python2.6/site-packages/telepathy/utils.pyt <module> s