ver,rel and build should be string for autoxml writer
This commit is contained in:
+3
-3
@@ -76,8 +76,8 @@ class History(xmlfile.XmlFile):
|
|||||||
|
|
||||||
for histInfo, pkgInfo in [(package.before, pkgBefore), (package.after, pkgAfter)]:
|
for histInfo, pkgInfo in [(package.before, pkgBefore), (package.after, pkgAfter)]:
|
||||||
if pkgInfo:
|
if pkgInfo:
|
||||||
histInfo.version = pkgInfo.version
|
histInfo.version = str(pkgInfo.version)
|
||||||
histInfo.release = pkgInfo.release
|
histInfo.release = str(pkgInfo.release)
|
||||||
histInfo.build = pkgInfo.build
|
histInfo.build = build and str(pkgInfo.build)
|
||||||
|
|
||||||
self.operation.packages.append(package)
|
self.operation.packages.append(package)
|
||||||
|
|||||||
Reference in New Issue
Block a user