summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2010-09-01 17:34:41 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-09-04 16:12:37 -0500
commita646475d4bde88bf6c342683bd6dd1fb3f71c7ef (patch)
treee36a3ad06dbb8523a5e389547765610fa9c3e796 /src/lib
parent21b8593780ef2020618ae6c82880c7698abd13ea (diff)
downloadbcfg2-a646475d4bde88bf6c342683bd6dd1fb3f71c7ef.tar.gz
bcfg2-a646475d4bde88bf6c342683bd6dd1fb3f71c7ef.tar.bz2
bcfg2-a646475d4bde88bf6c342683bd6dd1fb3f71c7ef.zip
Packages: Assign the deps variable before resolution.
If no dependencies are found a trace is thrown in the validation phase. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6048 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/Packages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 5371e5bbe..4f5a46455 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -597,6 +597,7 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
continue
if debug:
self.logger.debug("Packages: handling package requirement %s" % (current))
+ deps = ()
for source in sources:
try:
deps = source.get_deps(meta, current)