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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/h/e/hellanzb-HEAD/Hellanzb/NZBLeecher/ArticleDecoder.py   hellanzb(Download)
from twisted.internet import reactor
from zlib import crc32
from Hellanzb.Daemon import beginDownload, endDownload, handleNZBDone, pauseCurrent
from Hellanzb.Log import *
from Hellanzb.Logging import prettyException
def handleIOError(ioe):
    if ioe.errno == 28:
        if not Hellanzb.downloadPaused:
            error('No space left on device!')
            pauseCurrent()

src/h/e/hellanzb-HEAD/Hellanzb/HellaXMLRPC/__init__.py   hellanzb(Download)
    def xmlrpc_pause(self):
        """ Pause downloading """
        from Hellanzb.Daemon import pauseCurrent
        pauseCurrent()
        return self.xmlrpc_status()