X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mozilla%2Fcertdata2pem.py;h=5cc8f4cce5732314293e207ad1390d987497cd05;hb=c75efbd4da00bd204c953b6114ca8d6200b419c2;hp=773ce0d32af81626952c5c0448e57dc98ca115f6;hpb=ce5a2980213b9744156b9cf44e33488224ece292;p=ca-certificates.git diff --git a/mozilla/certdata2pem.py b/mozilla/certdata2pem.py index 773ce0d..5cc8f4c 100644 --- a/mozilla/certdata2pem.py +++ b/mozilla/certdata2pem.py @@ -121,7 +121,7 @@ for obj in objects: .replace('(', '=')\ .replace(')', '=')\ .replace(',', '_') + '.crt' - fname = fname.decode('string_escape') + fname = fname.decode('string_escape') f = open(fname, 'w') f.write("-----BEGIN CERTIFICATE-----\n") f.write("\n".join(textwrap.wrap(base64.b64encode(obj['CKA_VALUE']), 64)))