Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(20)  |  Call(12)  |  Derive(0)  |  Import(8)

src/h/e/hellanzb-HEAD/Hellanzb/Logging.py   hellanzb(Download)
    def __init__(self):
        from Hellanzb.Log import error, debug
        self.error = error
        self.debug = debug
 
                    segment.nzbFile.showFilenameIsTemp = False
            except AttributeError, ae:
                from Hellanzb.Log import debug
                debug('ATTRIBUTE ERROR: ' + str(ae) + ' num: ' + str(segment.number) + \
                      ' duh: ' + str(segment.articleData))
        return
 
    from Hellanzb.Log import debug
    try:
        fd = sys.stdin.fileno()
        new = termios.tcgetattr(fd)
    except Exception, e:
        debug('stdinEchoOn error', e)
        return
 

src/h/e/hellanzb-HEAD/Hellanzb/Util.py   hellanzb(Download)
    def processEnded(self, reason):
        self.returnCode = reason.value.exitCode
 
        from Hellanzb.Log import debug
        import thread
        debug('processEnded THREAD ID: ' + str(thread.get_ident()) + ' (' + \
                  self.prettyCmd + ') ' + 'aquiring lock')
        self.finished.acquire()
        debug('processEnded THREAD ID: ' + str(thread.get_ident()) + ' (' + \
    def kill(self):
        from Hellanzb.Log import debug, error
        if isWindows():
            warn('Left running process: %s' % self.prettyCmd)
            return
                      ' process: ' + self.prettyCmd, ose)
            except Exception, e:
                debug('could not kill process: ' + self.prettyCmd + ': ' + str(e))
 
        self.postProcessor.killed = True

src/h/e/hellanzb-HEAD/Hellanzb/HellaXMLRPC/HtPasswdAuth.py   hellanzb(Download)
    from twisted.protocols import http
 
from Hellanzb.Log import debug
 
__id__ = '$Id$'
        authenticated = username == self.user and self.passwordDigest == m.digest()
        if not authenticated:
            debug('Failed HTTP Basic auth, user: ' + self.user)
 
        return authenticated