From 09d6569fd363799c741fa6265bfa08cba99eb320 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Tue, 19 Apr 2011 08:44:01 +0200 Subject: [PATCH] bits is an integer and replace needs arguments to be strings (#697542) --- src/pylorax/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/images.py b/src/pylorax/images.py index 6e92833c..768e0081 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -193,7 +193,7 @@ class PPC(object): dst = joinpaths(self.outputroot, ppcdir, "yaboot.conf") yabootconf = cpfile(self.reqs["yabootconf"], dst) - replace(yabootconf, r"%BITS%", bits) + replace(yabootconf, r"%BITS%", str(bits)) replace(yabootconf, r"%PRODUCT%", self.product) replace(yabootconf, r"%VERSION%", self.version)