From 39dc7d11f8a97436b27b998f57a114378faddb91 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Wed, 23 Jan 2008 14:34:17 +0000 Subject: [PATCH] ver,rel and build should be string for autoxml writer --- pisi/history.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/history.py b/pisi/history.py index a019876c..a7ac4150 100644 --- a/pisi/history.py +++ b/pisi/history.py @@ -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)