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

All Samples(10)  |  Call(7)  |  Derive(0)  |  Import(3)

src/h/e/hellanzb-HEAD/Hellanzb/NZBLeecher/ArticleDecoder.py   hellanzb(Download)
from Hellanzb.Log import *
from Hellanzb.Logging import prettyException
from Hellanzb.Util import BUF_SIZE, checkShutdown, isHellaTemp, nuke, touch, \
    OutOfDiskSpace, PoolsExhausted
from Hellanzb.NZBLeecher.DupeHandler import handleDupeNZBFile, handleDupeNZBSegment
        if not segment.cachedToDisk:
            segment.nzbFile.nzb.cachedArticleDataBytes -= segment.readBytes
        touch(segment.getDestination())
 
    if Hellanzb.SMART_PAR and segment.isFirstSegment():
            return UNKNOWN, None
 
        touch(segment.getDestination())
 
    else:
            return UNKNOWN, None
 
        touch(segment.getDestination())
 
    return UNKNOWN, None

src/h/e/hellanzb-HEAD/Hellanzb/Daemon.py   hellanzb(Download)
from Hellanzb.NZBQueue import dequeueNZBs, recoverStateFromDisk, parseNZB, \
    scanQueueDir, writeStateXML
from Hellanzb.Util import archiveName, daemonize, ensureDirs, getMsgId, hellaRename, \
    isWindows, prettyElapsed, prettySize, touch, validNZB, IDPool
 

src/h/e/hellanzb-HEAD/Hellanzb/test/DupeNameTestCase.py   hellanzb(Download)
from Hellanzb.test import HellanzbTestCase
from Hellanzb.Log import *
from Hellanzb.Util import cleanDupeName, dupeName, nextDupeName, touch
 
__id__ = '$Id$'
        self.assertEqual(dupeName(testFile, eschewNames = (testFile)), testFile0)
 
        touch(testFile)
        touch(testFile0)
 
        self.assertEqual(nextDupeName(testFile, eschewNames = (testFile0)), testFile1)
 
        touch(testFile)
        touch(testFile0)