Berker Peksag
2016-05-16 2e7c71a65bde37e59773298f01b751c0bee32ecc
Simplify Windows detection code
2 files modified
7 ■■■■■ changed files
CONTRIBUTORS.txt 2 ●●●●● patch | view | raw | blame | history
pyramid/compat.py 5 ●●●● patch | view | raw | blame | history
CONTRIBUTORS.txt
@@ -268,3 +268,5 @@
- Arian Maykon de A. Diógenes, 2016/04/13
- Vincent Férotin, 2016/05/08
- Berker Peksag, 2016/05/16
pyramid/compat.py
@@ -3,10 +3,7 @@
import sys
import types
if platform.system() == 'Windows':  # pragma: no cover
    WIN = True
else:  # pragma: no cover
    WIN = False
WIN = platform.system() == 'Windows'
try:  # pragma: no cover
    import __pypy__