Skip to content

Commit

Permalink
fix: don't decode (#1030)
Browse files Browse the repository at this point in the history
Looks like we don't need the `.decode('utf8')` anymore; this line was
originally added in 2017 so it was probably using py27 or something at
the time.
  • Loading branch information
daler authored Jan 5, 2025
1 parent 7194737 commit 0a4d558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioconda_utils/bioconductor_skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ def sub_placeholders(x):
for k, v in self._cb3_build_reqs.items():
d['requirements']['build'].append(k + '_' + "PLACEHOLDER")

rendered = pyaml.dumps(d, width=1e6).decode('utf-8')
rendered = pyaml.dumps(d, width=1e6) #.decode('utf-8') # decoding seems no longer needed

# Add Suggests: and SystemRequirements:
renderedsplit = rendered.split('\n')
Expand Down

0 comments on commit 0a4d558

Please sign in to comment.