summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@digia.com>2012-06-14 08:18:20 +0300
committerSimo Fält <simo.falt@nokia.com>2012-06-26 13:20:24 +0200
commitcaa38d7f27e5fb14b7a0a76c575b00efa0957eac (patch)
tree5ff6180d0da476edc383be34ae78cdd685ba726b
parent2354949a34211635bfa062040ee416796e3407f3 (diff)
Minor updates into python installer/SDK creation scripts.
Add sanity check for config.xml template checking and remove unnecessary console printing. Also fix a bug in file extraction function. Change-Id: I70541f6db5e994d9dcbc57b6064928b7ef906ed8 Reviewed-by: Simo Fält <simo.falt@nokia.com>
-rw-r--r--release-tools/sdkcomponent.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release-tools/sdkcomponent.py b/release-tools/sdkcomponent.py
index 1b55efa..0370bfe 100644
--- a/release-tools/sdkcomponent.py
+++ b/release-tools/sdkcomponent.py
@@ -92,7 +92,8 @@ class SdkComponent:
else:
# sanity check, duplicate template should not exist to avoid
# problems!
- print '*** Found duplicate template for: ' + item
+ print '*** Found duplicate template for: ' + section_name
+ print '*** Only one template for package should exist!'
print '*** Fix your configuration! Abort!'
sys.exit(-1)
self.parse_archives(target_config, archive_location_resolver)