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

All Samples(18)  |  Call(13)  |  Derive(0)  |  Import(5)

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
        unicode """
        d = {'id': archive.id,
             'nzbName': toUnicode(archive.archiveName)}
        if archive.rarPassword is not None:
            d['rarPassword'] = toUnicode(archive.rarPassword)
    def cleanLog(self, logEntry):
        """ Return a safe-for-xml version of the specified log entry string """
        return toUnicode(logEntry.replace('\x08', ''))
    def xmlrpc_asciiart(self):
        # FIXME: merge this with Daemon.postProcess
        if not os.path.isdir(archiveDir):
            raise Fault(9001, 'Unable to process, not a directory: ' + toUnicode(archiveDir))
        if not os.access(archiveDir, os.R_OK) or not os.access(archiveDir, os.W_OK):

src/h/e/hellanzb-HEAD/Hellanzb/NZBQueue.py   hellanzb(Download)
from Hellanzb.Log import *
from Hellanzb.NewzbinDownloader import NewzbinDownloader
from Hellanzb.Util import IDPool, UnicodeList, archiveName, hellaRename, inMainThread, \
    getFileExtension, toUnicode, validNZB
        typeDict = getattr(self, type)
        archiveName = toUnicode(archiveName)
        recoveredDict = None
        if archiveName in typeDict:
    for order, archiveName in onDiskQueue:
        for nzb in unsorted:
            if toUnicode(nzb.archiveName) == toUnicode(archiveName):
            if convertToUnicode:
                name = toUnicode(name)
                rarPassword = toUnicode(rarPassword)

src/h/e/hellanzb-HEAD/Hellanzb/NZBLeecher/NZBModel.py   hellanzb(Download)
from Hellanzb.Log import *
from Hellanzb.NZBQueue import writeStateXML
from Hellanzb.Util import IDPool, UnicodeList, archiveName, getFileExtension, getMsgId, \
    hellaRename, isHellaTemp, nuke, toUnicode
from Hellanzb.NZBLeecher.ArticleDecoder import parseArticleData, setRealFileName, tryAssemble
    def isSkippedParSubject(self, subject):
        """ Determine whether the specified subject is that of a known skipped par file """
        if self.skippedParSubjects is None:
            return False
        return toUnicode(subject) in self.skippedParSubjects
                if isinstance(val, int):
                    val = str(val)
                attribs[attrib] = toUnicode(val)
            attribs['parType'] = getParName(self.parType)

src/h/e/hellanzb-HEAD/Hellanzb/Log.py   hellanzb(Download)
    stdinEchoOff, stdinEchoOn, ScrollableHandler
from Hellanzb.Growl import *
from Hellanzb.Util import getLocalClassName, toUnicode, FatalError
from StringIO import StringIO
    # latin-1, otherwise converting to unicode can fail too
    description = toUnicode(description)
    p = GrowlNotificationPacket(application="hellanzb",

src/h/e/hellanzb-HEAD/Hellanzb/test/StateXMLTestCase.py   hellanzb(Download)
from Hellanzb.NZBLeecher.NZBSegmentQueue import NZBSegmentQueue
from Hellanzb.PostProcessorUtil import PAR2
from Hellanzb.Util import toUnicode
__id__ = '$Id$'