Any comments from Dr. J A Gow?

On Mon, 2008-03-17 at 11:54 +0000, John Carr wrote:
> Hi again
> 
> >  if not os.path.exists(self.config_path):
> >         if not os.path.isdir(self.config_dir):
> >                 os.mkdir(self.config_dir)
> >         oldconf = os.path.join(self.sepath,"config/config.xml")
> >         shutil.copy(oldconf, self.config_path)
> >
> 
> Remove this block all together. Reading UpdateConfig(), you see that
> sync-engine will still run just fine without the config file. If you
> look at the GlobalConfig object and self.cfg, it already has sane
> defaults.

thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

To have died once is enough.
                -- Publius Vergilius Maro (Virgil)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to