1
0

Travis CI: Use flake8 to find Python syntax errors and undefined names (#5467)

This commit is contained in:
Christian Clauss
2019-08-12 00:35:23 +02:00
committed by ghost43
parent 9eebb306f2
commit e34afd62ce
4 changed files with 11 additions and 13 deletions

View File

@@ -257,7 +257,7 @@ def get_logfile_path() -> Optional[pathlib.Path]:
def describe_os_version() -> str:
if 'ANDROID_DATA' in os.environ:
from kivy import utils
if utils.platform is not "android":
if utils.platform != "android":
return utils.platform
import jnius
bv = jnius.autoclass('android.os.Build$VERSION')