sf bug 170: invalid XML output when zip file is missing fix
authorRichard Taylor <richard.i.taylor@nokia.com>
Mon, 21 Dec 2009 12:54:47 +0000
branchfix
changeset 48 f872a2538607
parent 47 b0785ef0e8cd
child 49 ea484543efd9
sf bug 170: invalid XML output when zip file is missing
sbsv2/raptor/python/raptor_meta.py
--- a/sbsv2/raptor/python/raptor_meta.py	Thu Dec 17 11:34:53 2009 +0000
+++ b/sbsv2/raptor/python/raptor_meta.py	Mon Dec 21 12:54:47 2009 +0000
@@ -2782,10 +2782,11 @@
 							# export the file
 							exportwhatlog += self.CopyExport(fromFile, toFile, bldinf_filename)
 						else:
-							exportwhatlog += ("<archive zipfile='" + str(fromFile) + "'>\n")
 							members = self.UnzipExport(fromFile, toFile,
 									str(exportPlatform['SBS_BUILD_DIR']),
 									bldinf_filename)
+							
+							exportwhatlog += ("<archive zipfile='" + str(fromFile) + "'>\n")
 							if members != None:
 								exportwhatlog += members
 							exportwhatlog += "</archive>\n"