bits is an integer and replace needs arguments to be strings (#697542)
This commit is contained in:
parent
4271a37e9a
commit
09d6569fd3
@ -193,7 +193,7 @@ class PPC(object):
|
|||||||
dst = joinpaths(self.outputroot, ppcdir, "yaboot.conf")
|
dst = joinpaths(self.outputroot, ppcdir, "yaboot.conf")
|
||||||
yabootconf = cpfile(self.reqs["yabootconf"], dst)
|
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"%PRODUCT%", self.product)
|
||||||
replace(yabootconf, r"%VERSION%", self.version)
|
replace(yabootconf, r"%VERSION%", self.version)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user