files.xml artık oluşturuluyor.

This commit is contained in:
Barış Metin
2005-06-21 13:57:00 +00:00
parent a559653544
commit 861dad0aea
2 changed files with 3 additions and 2 deletions
-1
View File
@@ -124,7 +124,6 @@ class PisiBuild:
if depth < len(path.pathname):
depth = len(path.pathname)
ftype = path.fileType
print fpath, ftype, fhash
files.append(FileInfo(fpath, ftype, fhash))
files.write(os.path.join(self.ctx.pkg_dir(),"files.xml"))
+3 -1
View File
@@ -53,7 +53,9 @@ class Files(XmlFile):
def write(self, filename):
self.newDOM()
document = self.dom.documentElement
for x in self.list:
print x.elt(self.dom)
document.appendChild(x.elt(self.dom))
self.writexml(filename)