diff upmana/manifest.py @ 47:52f6a38f8885 traipse_dev

Update Manager 0.6.7 (Initial Release). Getting ready to implement it now. Default Check on repos does *NOT* work. Manifest works, Repos work. Main does not show panel or menu item, so if Auto or No are check, user will *NOT* see the Update Manager unless they edit their manifest.xml
author sirebral
date Thu, 06 Aug 2009 03:31:21 -0500
parents 8b630fc8a343
children 5aff3ef1ae46
line wrap: on
line diff
--- a/upmana/manifest.py	Wed Aug 05 19:52:56 2009 -0500
+++ b/upmana/manifest.py	Thu Aug 06 03:31:21 2009 -0500
@@ -1,12 +1,13 @@
 import xmltramp
 import orpg.dirpath
 import orpg.tools.validate
+from os import sep
 from types import *
 
 class ManifestChanges:
     def __init__(self, filename="updatemana.xml"):
-        self.filename = orpg.dirpath.dir_struct["user"] + filename
-        orpg.tools.validate.Validate().config_file(filename,"default_manifest.xml")
+        self.filename = orpg.dirpath.dir_struct["home"] + 'upmana' + sep + filename
+        orpg.tools.validate.Validate(orpg.dirpath.dir_struct["home"] + 'upmana' + sep).config_file(filename,"default_manifest.xml")
         self.xml_dom = self.LoadDoc()
 
     def GetString(self, plugname, strname, defaultval, verbose=0):