]> git.dujemihanovic.xyz Git - u-boot.git/commit
moveconfig: Use fd.write() instead of print >>
authorSimon Glass <sjg@chromium.org>
Sun, 13 Aug 2017 22:02:54 +0000 (16:02 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Sep 2017 03:43:58 +0000 (21:43 -0600)
commitc79d18c4b40d10c0a95b56e51f4517aca4515364
tree94d5cdeb1e0dec0c5cc30bea2f2c44a421b5847a
parent3991f42ed2e38aff28ba3c24369bfbd90620bea7
moveconfig: Use fd.write() instead of print >>

Adjust this code so that it can work with Python 2 and 3.

Fixes: d73fcb1 (moveconfig: Support building a simple config database)
Reported-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/libfdt/pylibfdt/libfdt.i
tools/moveconfig.py