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

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

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 not PAR2_VOL_RE.match(filename):
                return
        elif isPar1(filename):
            nzbFile.parType = PAR1
            if filename.lower().endswith('.par'):
def getParSize(filename):
    """ Determine the par 'size' (type of size depends on the parType) of the par file with
    the specified filename """
    if isPar1(filename):
        return 1