Skip to content

Commit

Permalink
Merge pull request #112 from pelson/py35_appveyor
Browse files Browse the repository at this point in the history
Fixed writing of hex encoded AppVeyor secret on py3.
  • Loading branch information
pelson committed Apr 2, 2016
2 parents 1fada6a + 6a5c30e commit e9771ee
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 @@ -103,7 +103,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 e9771ee

Please sign in to comment.