checksum of group file will be wrong if specified - didn't seek(0) after
authorSeth Vidal <skvidal@linux.duke.edu>
Thu, 30 Sep 2004 05:49:04 +0000 (05:49 +0000)
committerSeth Vidal <skvidal@linux.duke.edu>
Thu, 30 Sep 2004 05:49:04 +0000 (05:49 +0000)
copying it.

dumpMetadata.py

index f4ea4327e900d74482d2da2f745a2eae0764384a..0d37d3c96a8b4ed0ae5e4426999b5f7abc4bb017 100644 (file)
@@ -668,6 +668,7 @@ def repoXML(node, cmds):
         output = open(os.path.join(cmds['tempdir'], sfile), 'w')
         output.write(fo.read())
         output.close()
+        fo.seek(0)
         csum = getChecksum(sumtype, fo)
         fo.close()