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

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

src/h/e/hellanzb-HEAD/Hellanzb/NZBQueue.py   hellanzb(Download)
        queuedMap[os.path.normpath(nzb.nzbFileName)] = nzb
 
    for file in os.listdir(Hellanzb.QUEUE_DIR):
        if file in Hellanzb.queueDirIgnore:
            continue
 
        if Hellanzb.NZB_FILE_RE.search(file):
            if os.path.normpath(os.path.join(Hellanzb.QUEUE_DIR, file)) not in queuedMap:
                # Delay enqueueing recently modified NZBs
                if not isOldEnough(os.path.join(Hellanzb.QUEUE_DIR, file)):
                if not isOldEnough(os.path.join(Hellanzb.QUEUE_DIR, file)):
                    continue
                newNZBs.append(os.path.join(Hellanzb.QUEUE_DIR, file))
 
            elif os.path.normpath(os.path.join(Hellanzb.QUEUE_DIR, file)) in queuedMap:

src/h/e/hellanzb-HEAD/Hellanzb/NZBLeecher/NZBModel.py   hellanzb(Download)
            self.destDir = postponed
 
            move(self.nzbFileName, os.path.join(Hellanzb.QUEUE_DIR,
                                                os.path.basename(self.nzbFileName)))
            self.nzbFileName = os.path.join(Hellanzb.QUEUE_DIR,

src/h/e/hellanzb-HEAD/Hellanzb/Daemon.py   hellanzb(Download)
            # Copy the specified NZB, unless it's already in the queue dir (move it
            # instead)
            if os.path.normpath(os.path.dirname(nzbfilename)) != os.path.normpath(Hellanzb.QUEUE_DIR):
                copy(nzbfilename, os.path.join(Hellanzb.CURRENT_DIR, os.path.basename(nzbfilename)))
            else: