mozilla-services / updatebot

Automation for updating third party libraries for Firefox
Mozilla Public License 2.0
8 stars 5 forks source link

Replace calls to .decode() with encoding="UTF-8" in commandrunner.py #244

Open tomrittervg opened 2 years ago

tomrittervg commented 2 years ago

@ahochheiden pointed out that subprocess.run() has an encoding parameter I didn't know about. I can set it to avoid having to call .decode() everywhere on the output/error streams.