From 6a5c30eded05a02699fafef905b8825481f9a1a0 Mon Sep 17 00:00:00 2001 From: Phil Elson Date: Sat, 2 Apr 2016 12:16:53 +0100 Subject: [PATCH] Fixed writing of hex encoded AppVeyor secret on py3. --- conda_smithy/ci_register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_smithy/ci_register.py b/conda_smithy/ci_register.py index 6c33d2389..8dbce49d1 100755 --- a/conda_smithy/ci_register.py +++ b/conda_smithy/ci_register.py @@ -100,7 +100,7 @@ def appveyor_encrypt_binstar_token(feedstock_directory, user, project): if not code: code = {} - code.setdefault('appveyor', {}).setdefault('secure', {})['BINSTAR_TOKEN'] = response.content + code.setdefault('appveyor', {}).setdefault('secure', {})['BINSTAR_TOKEN'] = response.content.decode('utf-8') with open(forge_yaml, 'w') as fh: fh.write(ruamel.yaml.dump(code, Dumper=ruamel.yaml.RoundTripDumper))