From 4c7e63364f53b940084bc46ca2d29b50dc3aab7f Mon Sep 17 00:00:00 2001
From: Egor Tensin <Egor.Tensin@gmail.com>
Date: Sun, 17 Jan 2021 14:49:48 +0300
Subject: fix PyLint warnings

---
 project/cmake/toolchain.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'project/cmake')

diff --git a/project/cmake/toolchain.py b/project/cmake/toolchain.py
index 7c96628..7966192 100644
--- a/project/cmake/toolchain.py
+++ b/project/cmake/toolchain.py
@@ -189,7 +189,8 @@ class Makefile(Toolchain):
     def _get_config_path(build_dir):
         return os.path.join(build_dir, 'custom_toolchain.cmake')
 
-    def _get_makefile_generator(self):
+    @staticmethod
+    def _get_makefile_generator():
         if on_windows():
             if shutil.which('mingw32-make'):
                 return 'MinGW Makefiles'
-- 
cgit v1.2.3