Skip to content

Commit

Permalink
fix clean_rosdep_yaml script when processing osx / ruby files
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed May 22, 2018
1 parent 89a0bc6 commit 49a578f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/clean_rosdep_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ def prn(n, nm, lvl):
for a in sorted(iny):
buf += prn(iny[a], a, 0)

with io.open(args.outfile, 'w', encoding='utf-8') as f:
f.write(buf)
with io.open(args.outfile, 'wb') as f:
f.write(buf.encode('utf-8'))

0 comments on commit 49a578f

Please sign in to comment.