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

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

Write config into a file 

Definition at line 309 of file SinTool.py.

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

        fp = open(name, 'w')
        fp.write(self.config)
        fp.close()

    security.declareProtected(ModifyPortalContent, 'updateConfig')


Generated by  Doxygen 1.6.0   Back to index