summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Structures/Bundler.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Server/Structures/Bundler.py b/src/lib/Server/Structures/Bundler.py
index 10914a61c..7eacfcb38 100644
--- a/src/lib/Server/Structures/Bundler.py
+++ b/src/lib/Server/Structures/Bundler.py
@@ -89,7 +89,11 @@ class Bundler(Structure):
def Construct(self, metadata):
'''Build all structures for client (metadata)'''
- (system, package, service) = self.GetTransInfo(metadata)
+ try:
+ (system, package, service) = self.GetTransInfo(metadata)
+ except KeyError:
+ syslog(LOG_ERR, "Failed to find translation information for image %s" % metadata.image)
+ return []
bundleset = []
for bundlename in metadata.bundles:
if not self.bundles.entries.has_key("%s.xml"%(bundlename)):