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

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

src/h/e/hellanzb-HEAD/Hellanzb/NZBLeecher/DupeHandler.py   hellanzb(Download)
import os, ArticleDecoder, Hellanzb
from Hellanzb.Log import *
from Hellanzb.Util import dupeName, getFileExtension, nextDupeName, DUPE_SUFFIX_RE
from Hellanzb.NZBLeecher.NZBLeecherUtil import validWorkingFile
 
        # Set a new dupeName -- avoid setting a dupeName that is on disk or in the
        # eschewNames (like above in handleDupeNZBSegment)
        dupeNZBFileName = dupeName(dest, eschewNames = knownRealNZBFilenames())
 
        info('Duplicate file, renaming: %s to %s' % (os.path.basename(dest),

src/h/e/hellanzb-HEAD/Hellanzb/HellaXMLRPC/__init__.py   hellanzb(Download)
from Hellanzb.PostProcessor import PostProcessor
from Hellanzb.PostProcessorUtil import Archive
from Hellanzb.Util import archiveName, cmHella, dupeName, flattenDoc, prettyEta, toUnicode, \
    truncateToMultiLine, IDPool
 
        # pick up the post processing afterward restart
        if os.path.normpath(dirName) != os.path.normpath(Hellanzb.PROCESSING_DIR):
            destDir = dupeName(os.path.join(Hellanzb.PROCESSING_DIR,
                               os.path.basename(archiveDir.rstrip(os.sep))))
            # UNIX: symlink, windows =[

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$'