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/Daemon.py   hellanzb(Download)
from Hellanzb.Log import *
from Hellanzb.Logging import prettyException, LogOutputStream
from Hellanzb.NZBQueue import dequeueNZBs, recoverStateFromDisk, parseNZB, \
    scanQueueDir, writeStateXML
from Hellanzb.Util import archiveName, daemonize, ensureDirs, getMsgId, hellaRename, \
    def recoverStateAndBegin():
        recoverStateFromDisk()
        resumePostProcessors()
        scanQueueDir(True)
    reactor.callLater(0, recoverStateAndBegin)

src/h/e/hellanzb-HEAD/Hellanzb/test/StateXMLTestCase.py   hellanzb(Download)
from Hellanzb.Log import *
from Hellanzb.NZBLeecher.NZBModel import NZB, NZBFile
from Hellanzb.NZBQueue import recoverStateFromDisk
from Hellanzb.NZBLeecher.NZBSegmentQueue import NZBSegmentQueue
from Hellanzb.PostProcessorUtil import PAR2
    def recoverState(self):
        recoverStateFromDisk(self.stateXMLFileName)
 
"""
Copyright (c) 2006 Philip Jenvey <pjenvey@groovie.org>