mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
black
This commit is contained in:
parent
0ff0c39969
commit
bd3fd8cfc9
1 changed files with 2 additions and 0 deletions
|
@ -75,11 +75,13 @@ def ON_BEOS():
|
|||
"""True if we are on BeOS or Haiku."""
|
||||
return sys.platform == "beos5" or sys.platform == "haiku1"
|
||||
|
||||
|
||||
@lazybool
|
||||
def ON_WSL():
|
||||
"""True if we are on Windows Subsystem for Linux (WSL)"""
|
||||
return "Microsoft" in platform.release()
|
||||
|
||||
|
||||
#
|
||||
# Python & packages
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue