ver,rel and build should be string for autoxml writer

This commit is contained in:
Faik Uygur
2008-01-23 14:34:17 +00:00
parent 48d727e5e7
commit 39dc7d11f8
+3 -3
View File
@@ -76,8 +76,8 @@ class History(xmlfile.XmlFile):
for histInfo, pkgInfo in [(package.before, pkgBefore), (package.after, pkgAfter)]:
if pkgInfo:
histInfo.version = pkgInfo.version
histInfo.release = pkgInfo.release
histInfo.build = pkgInfo.build
histInfo.version = str(pkgInfo.version)
histInfo.release = str(pkgInfo.release)
histInfo.build = build and str(pkgInfo.build)
self.operation.packages.append(package)