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

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)
Create a new _ConfigFile.  If <filename> is set, read from
a corresponding file.  If <string> is set, parse its contents.

(If <filename> ends with ".gz", assume a file compressed
with gzip.)

If <assumeValid> is true, skip all unnecessary validation
steps.  (Use this to load a file that's already been checked as
valid.)

src/m/i/mixminion-HEAD/lib/mixminion/ServerInfo.py   mixminion(Download)
        self._isValidated = 0
        self._validatedDigests = validatedDigests
        mixminion.Config._ConfigFile.__init__(self, fname, string, assumeValid,
                                              keep=_keepContents)
        del self._validatedDigests
        """
        self.expectedDigest = expectedDigest
        mixminion.Config._ConfigFile.__init__(self, string=contents)
 
    def prevalidate(self, contents):
    def __init__(self, string):
        self.sigStatus = None
        mixminion.Config._ConfigFile.__init__(self, string=string)
 
    def prevalidate(self, contents):
    def __init__(self, string):
        self.sigStatus = None
        mixminion.Config._ConfigFile.__init__(self, string=string)
 
    def validate(self, lines, contents):

src/m/i/mixminion-HEAD/lib/mixminion/server/ServerConfig.py   mixminion(Download)
        self._addCallback("Server", self.__loadModules)
 
        mixminion.Config._ConfigFile.__init__(self, fname, string)
 
    def validate(self, lines, contents):

src/m/i/mixminion-HEAD/lib/mixminion/directory/Directory.py   mixminion(Download)
    def __init__(self, filename=None, string=None):
        mixminion.Config._ConfigFile.__init__(self, filename, string)
 
    def validate(self, lines, contents):
        import pwd

src/m/i/mixminion-HEAD/lib/mixminion/test.py   mixminion(Download)
    def __init__(self, fname=None, string=None, restrict=0):
        self._restrictFormat = restrict
        _ConfigFile.__init__(self,fname,string)
 
class ConfigFileTests(TestCase):