Skip to content
Commit 304b141a authored by Titouan Christophe's avatar Titouan Christophe Committed by Peter Korsgaard
Browse files

support/scripts/pkg-stats: decode subprocess output for python3



In Python 3, the functions from the subprocess module return bytes
(and no longer strings as in Python 2), which must be decoded for
further text operations.

Now, pkg-stats can be run in Python 3.

Signed-off-by: default avatarTitouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 70b2411c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment