summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Toolset.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client/Toolset.py')
-rw-r--r--src/lib/Client/Toolset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Toolset.py b/src/lib/Client/Toolset.py
index 1788a4a37..6d73f6fb1 100644
--- a/src/lib/Client/Toolset.py
+++ b/src/lib/Client/Toolset.py
@@ -448,7 +448,7 @@ class Toolset(object):
if packages:
# try single large install
self.CondPrint("verbose", "Trying single pass package install")
- pkglist = " ".join([self.pkgtool[1][0] % tuple([pkg.get(field) for field in self.pkgtool[1][1]])
+ pkglist = " ".join([self.pkgtool[1][0] % tuple([pkg.get(field, '') for field in self.pkgtool[1][1]])
for pkg in packages])
self.CondPrint("debug", "Installing packages: %s" % pkglist)
cmdrc = system(self.pkgtool[0] % pkglist)