From 5bad973ba625d4176e82d9843475da3969b84e44 Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Mon, 15 Feb 2016 08:15:43 +0100 Subject: [PATCH] Don't remove python executable when make clean --- scripts/module/module_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/module/module_handler.py b/scripts/module/module_handler.py index 136dc8cf..0667c376 100755 --- a/scripts/module/module_handler.py +++ b/scripts/module/module_handler.py @@ -40,7 +40,7 @@ def is_plugin(path_module_rel): def is_exe(fpath): - return os.path.isfile(fpath) and os.access(fpath, os.X_OK) + return os.path.isfile(fpath) and os.access(fpath, os.X_OK) and not fpath.endswith(".py") def get_dict_child(l_root_abs=None):