X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Futils.py;h=32cba98f03443ec560faed686d839b9381f760f3;hb=f558a3d8c95f65f905d46681c1d43e6986fee256;hp=7b139767dd98389b62871b703e1b754e7240b3f7;hpb=9af3682a124014b128df6e2eb5c936cdb67c8c84;p=dak.git diff --git a/daklib/utils.py b/daklib/utils.py index 7b139767..32cba98f 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -671,7 +671,7 @@ def TemplateSubst(map, filename): templatefile = open_file(filename) template = templatefile.read() for x in map.keys(): - template = template.replace(x,map[x]) + template = template.replace(x, str(map[x])) templatefile.close() return template