summaryrefslogtreecommitdiff
path: root/rule_checker.py
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2017-04-25 20:25:11 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-04-25 20:25:11 +0900
commit13fded7662212c80dca9be38c84f5e9d51ba8fcb (patch)
tree6d9b1a75a9cbd0d76395d3d7a4f52ca05d878c8b /rule_checker.py
parent89de03b366a4517724f36dea052ab5d5168ab978 (diff)
downloadbuilding-blocks-13fded7662212c80dca9be38c84f5e9d51ba8fcb.tar.gz
building-blocks-13fded7662212c80dca9be38c84f5e9d51ba8fcb.tar.bz2
building-blocks-13fded7662212c80dca9be38c84f5e9d51ba8fcb.zip
RULE 5.7.1 modified to allow smart-device examples to express KS
Change-Id: Ia759ed5b6d18861aaf6b876adb8722273a7cd049 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'rule_checker.py')
-rwxr-xr-xrule_checker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rule_checker.py b/rule_checker.py
index fc15901..48fe5c6 100755
--- a/rule_checker.py
+++ b/rule_checker.py
@@ -117,7 +117,7 @@ def ruleCheckInc(file):
if description == 1:
description = 0
if re.search(r'^__KS_URL__', line):
- if not re.search(r'Preset_boards-', descpkg):
+ if not re.search(r'Preset_boards-', descpkg) and not re.search(r'Preset_sd-', descpkg):
error += 1
print("ERROR: Rule 5.7.1. The package: "+descpkg)
report(file, lc, line)