diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2010-02-14 22:33:06 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2010-02-14 22:33:06 +0000 |
commit | aa4c8cdd6386cec3eecf08e2bfce3553ff6ff0b4 (patch) | |
tree | 9bc152cb312dbf234c00fdd2e93b49f9277ae398 /src/lib | |
parent | 4cea0387ac87748a399f71060664a7a671b464e9 (diff) | |
download | bcfg2-aa4c8cdd6386cec3eecf08e2bfce3553ff6ff0b4.tar.gz bcfg2-aa4c8cdd6386cec3eecf08e2bfce3553ff6ff0b4.tar.bz2 bcfg2-aa4c8cdd6386cec3eecf08e2bfce3553ff6ff0b4.zip |
Packages: fix dep issue on apt sources [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5724 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Plugins/Packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py index 93b32cce9..3a90a81db 100644 --- a/src/lib/Server/Plugins/Packages.py +++ b/src/lib/Server/Plugins/Packages.py @@ -409,8 +409,8 @@ class APTSource(Source): if words[0] == 'Package': pkgname = words[1].strip().rstrip() self.pkgnames.add(pkgname) - elif words[0] in ['Depends', 'Pre-Depends']: bdeps[barch][pkgname] = [] + elif words[0] in ['Depends', 'Pre-Depends']: vindex = 0 for dep in words[1].split(','): if '|' in dep: |