Logo Search packages:      
Sourcecode: zope-cmfsin version File versions  Download package

def zope-cmfsin-0.6.1::SinTool::SinTool::load (   self,
  filename 
)

Load a file into config 

Definition at line 298 of file SinTool.py.

00298                             :
        """ Load a file into config """
        name = os.path.join(package_home(globals()), \
                            os.path.basename(filename))
        if not name.endswith('.cfg'):
            name += '.cfg'

        fp = open(name)
        self.parse(fp)

    security.declarePrivate('save')


Generated by  Doxygen 1.6.0   Back to index