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

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

src/h/e/hellanzb-HEAD/Hellanzb/SmartPar.py   hellanzb(Download)
from twisted.internet import reactor
from Hellanzb.Log import *
from Hellanzb.PostProcessorUtil import findPar2Groups, getParName, getParRecoveryName, \
    isPar, isPar1, isPar2, PAR1, PAR2
from Hellanzb.Util import cleanDupeName, inMainThread, isHellaTemp, prettySize, FatalError
 
        if isPar2(filename):
            nzbFile.parType = PAR2
            if not PAR2_VOL_RE.match(filename):
                return

src/h/e/hellanzb-HEAD/Hellanzb/test/StateXMLTestCase.py   hellanzb(Download)
from Hellanzb.NZBQueue import recoverStateFromDisk
from Hellanzb.NZBLeecher.NZBSegmentQueue import NZBSegmentQueue
from Hellanzb.PostProcessorUtil import PAR2
from Hellanzb.Util import toUnicode
 
    def assertRecoveredSkippedPar(self, subject):
        n = NZB('test.nzb')
        n.isParRecovery = True
        n.parPrefix = 'test'
        n.parType = PAR2