From d64eca6379dda83560044b5d949d60b54b908411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 19 Aug 2015 14:58:36 +0200 Subject: Added dirty repository check Test run and initialization now shows warning about dirty repository and loop can't be executed if linux or root repository is dirty. --- scripts/initialize.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/initialize.py') diff --git a/scripts/initialize.py b/scripts/initialize.py index ff891f8..745f822 100755 --- a/scripts/initialize.py +++ b/scripts/initialize.py @@ -11,6 +11,10 @@ from conf import sf import exceptions def all(): + try: + utils.dirtycheck() + except exceptions.DirtyRepository as e: + print("Warning: " + str(e)) base() parse_kconfig() gen_fixed() -- cgit v1.2.3