Skip to content

Commit

Permalink
Fixed writing of hex encoded AppVeyor secret on py3.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelson committed Apr 2, 2016
1 parent 3975c6d commit 6a5c30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_smithy/ci_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 6a5c30e

Please sign in to comment.