Merge pull request #2392 from nathan-hoad/xonfig-output

Don't show the repr of the LazyBool for whether or not xonsh is running on Linux.
This commit is contained in:
Konstantinos Tsakiltzidis 2017-05-30 08:47:06 +03:00 committed by GitHub
commit daa909fe13
2 changed files with 14 additions and 1 deletions

13
news/xonfig-output.rst Normal file
View file

@ -0,0 +1,13 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* ``xonfig`` now displays the proper value for "on linux"
**Security:** None

View file

@ -374,7 +374,7 @@ def _info(ns):
('shell type', env.get('SHELL_TYPE')),
('pygments', pygments_version()),
('on posix', bool(ON_POSIX)),
('on linux', ON_LINUX),
('on linux', bool(ON_LINUX)),
])
if ON_LINUX:
data.append(('distro', linux_distro()))