summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools
diff options
context:
space:
mode:
authorAnders Montonen <Anders.Montonen@iki.fi>2020-04-27 22:15:27 +0300
committerChris Johns <chrisj@rtems.org>2020-04-28 08:49:25 +1000
commitae9faa2726017fb75ae7715619387a23deecf9a5 (patch)
tree7936533b8eec43a73de8193223e8d384b3ed0a10 /rtems/config/tools
parentsb: Fix Python literal comparison warnings (diff)
downloadrtems-source-builder-ae9faa2726017fb75ae7715619387a23deecf9a5.tar.bz2
sb/linux.py: Workaround for Python >= 3.8
The platform.dist() interface has been deprecated since Python 3.5, and has been removed in Python 3.8. Fixes: Traceback (most recent call last): File "/home/anders/work/rtems/rsb/source-builder/sb/options.py", line 682, in load overrides = linux.load() File "/home/anders/work/rtems/rsb/source-builder/sb/linux.py", line 60, in load distro = platform.dist()[0] AttributeError: module 'platform' has no attribute 'dist' Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
Diffstat (limited to 'rtems/config/tools')
0 files changed, 0 insertions, 0 deletions