Beispiel #1
0
    def testAll(self):
        path = directory.config_path()
        self.failUnless(path.startswith('/home'))

        path = directory.cache_path()
        self.failUnless(path.startswith('/home'))
    def testAll(self):
        path = directory.config_path()
        self.failUnless(path.startswith('/home'))

        path = directory.cache_path()
        self.failUnless(path.startswith('/home'))
Beispiel #3
0
    def __init__(self, path=None):
        self._path = path or directory.config_path()

        self._parser = ConfigParser.SafeConfigParser()

        self.open()
Beispiel #4
0
    def __init__(self, path=None):
        self._path = path or directory.config_path()

        self._parser = ConfigParser.SafeConfigParser()

        self.open()