diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-09-17 09:48:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-14 12:52:10 +0200 |
commit | 1f796ca706b4baad80c5df620b53b60d0ddfd6a6 (patch) | |
tree | a0ec99c3874e46c28cbe65db16bcdf4ef5244d43 /fs | |
parent | 014018215187e391b30b06b96c3b8329eead25d6 (diff) | |
download | barebox-1f796ca706b4baad80c5df620b53b60d0ddfd6a6.tar.gz barebox-1f796ca706b4baad80c5df620b53b60d0ddfd6a6.tar.xz |
Documentation: make gen_commands helper python3 compatible
On some machines the python command is provided by Python 3 while on
most (at least in my bubble) it is still Python 2. Modify the code to
make it usable by both Python versions.
print_function is available in __future__ since Python 2.6.0a2, which
shouldn't be a relevant restriction.
The modified script generates the same documentation as the old one;
independent if the script is called using Python 2 (here: 2.7.16) or
Python 3 (here: 3.7.3).
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions