summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-05-12 17:56:24 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-05-12 17:56:24 +0000
commit6daebe4f805e2c071a90c1c7fb86156f8dc5b10a (patch)
tree1ea5bcfce2d9511514d566a39645216be0836bec /src/lib/Client
parenta57a6a5acf0ea877377f5eadb349bf7272f6fc5d (diff)
downloadbcfg2-6daebe4f805e2c071a90c1c7fb86156f8dc5b10a.tar.gz
bcfg2-6daebe4f805e2c071a90c1c7fb86156f8dc5b10a.tar.bz2
bcfg2-6daebe4f805e2c071a90c1c7fb86156f8dc5b10a.zip
add default fetch of nothing for pkgtool invocations
(Logical change 1.225) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@939 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-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)