Hi,

just looking through the sync-engine code to tweak the gentoo package,
and I came across this in config.py:

# check if we have a config

self.config_dir   = os.path.join(os.path.expanduser("~"), ".synce")
self.config_path  = os.path.join(self.config_dir, "config.xml")
                
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)

so if config.xml doesn't exist in ~/.synce it is copied from
"self.sepath".  The only problem is self.sepath is set to
"/usr/lib/python2.5/site-packages" a few lines earlier, so the default
config.xml would have to be installed into
"/usr/lib/python2.5/site-packages/config/config.xml"

Is that right?  I couldn't find any other reference to config.xml.
Shouldn't it go into
"/usr/lib/python2.5/site-packages/SyncEngine/config/config.xml"
or /usr/share or something instead?

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

It was the Law of the Sea, they said.  Civilization ends at the waterline.
Beyond that, we all enter the food chain, and not always right at the top.
                -- Hunter S. Thompson


-------------------------------------------------------------------------
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