files.xml artık oluşturuluyor.
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user