aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/utils.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-29 14:24:17 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-29 14:24:17 +0000
commit5807ec7bc875d678f2e9502259d62d83b858a854 (patch)
tree0e6e1f92777230d94c627ef9208de24d84b4558a /project/utils.py
parentclang-format.py: fix timestamps in logs (diff)
downloadcmake-common-5807ec7bc875d678f2e9502259d62d83b858a854.tar.gz
cmake-common-5807ec7bc875d678f2e9502259d62d83b858a854.zip
project: add os.py
Diffstat (limited to 'project/utils.py')
-rw-r--r--project/utils.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/project/utils.py b/project/utils.py
index 9d986b0..8c57f59 100644
--- a/project/utils.py
+++ b/project/utils.py
@@ -6,7 +6,6 @@
from contextlib import contextmanager
import logging
import os.path
-import platform
import subprocess
@@ -44,11 +43,3 @@ def run(cmd_line):
def run_cmake(cmake_args):
return run(['cmake'] + cmake_args)
-
-
-def on_windows():
- return platform.system() == 'Windows'
-
-
-def on_linux():
- return not on_windows()