summaryrefslogtreecommitdiff
path: root/cpp/install/common/components.py
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2005-12-19 14:00:46 +0000
committerBrent Eagles <brent@zeroc.com>2005-12-19 14:00:46 +0000
commitf07d8a79ef4d4935bcb1994ef5f879f9aa0d7e83 (patch)
treeab26d828d606be29b2f8c0f13331508c604c1cd7 /cpp/install/common/components.py
parentFixed typo (diff)
downloadice-f07d8a79ef4d4935bcb1994ef5f879f9aa0d7e83.tar.bz2
ice-f07d8a79ef4d4935bcb1994ef5f879f9aa0d7e83.tar.xz
ice-f07d8a79ef4d4935bcb1994ef5f879f9aa0d7e83.zip
*** empty log message ***
Diffstat (limited to 'cpp/install/common/components.py')
-rwxr-xr-xcpp/install/common/components.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/install/common/components.py b/cpp/install/common/components.py
index 13df10db731..357a893706c 100755
--- a/cpp/install/common/components.py
+++ b/cpp/install/common/components.py
@@ -295,7 +295,11 @@ def stage(filename, componentdir, stageDirectory, group, defaults):
logging.log(logging.DEBUG, 'Adding templatized name %s' % computedName)
worker.add(computedName)
else:
- worker.add(current % defaults)
+ try:
+ worker.add(current % defaults)
+ except Exception, e:
+ print str(e) + ": occured while adding %s to worker in element %d in %s" % \
+ (current, i, section)
if worker == None:
msg = "Component file %s is empty." % filename