Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Purvis <[email protected]>
  • Loading branch information
cottsay and mikepurvis committed Jun 25, 2024
1 parent 8eb775a commit a1b4ba8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/rosdistro_build_cache
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ def main():
if args.dist_names and dist_name not in args.dist_names:
continue
# write the cache
data = yaml.dump(cache.get_data(), Dumper=CacheYamlDumper)

data = data.encode('utf-8')
data = yaml.dump(cache.get_data(), Dumper=CacheYamlDumper).encode()

with open('%s-cache.yaml' % dist_name, 'wb') as f:
print('- write cache file "%s-cache.yaml"' % dist_name)
Expand Down

0 comments on commit a1b4ba8

Please sign in to comment.