graph-depends.py: support python3
authorArnout Vandecappelle <arnout@mind.be>
Fri, 20 Jun 2014 20:34:07 +0000 (22:34 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 22 Jun 2014 17:05:18 +0000 (19:05 +0200)
commit63454b1c07b033c258451e06978da2514bb05361
treedffb7111255de20d3385b81b397d6e2ab24245ff
parent28cee8101d4c2ec7549f8ec4893409449717983b
graph-depends.py: support python3

This patch is the result of 2to3.

In addition, universal_newlines=True is added to the Popen calls. In
python3, this makes sure that the output is decoded so that we get a
string instead of a buffer object.

Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/graph-depends