diff options
author | Jack Neely <jjneely@ncsu.edu> | 2010-09-02 14:41:48 +0000 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-09-04 16:12:37 -0500 |
commit | 077fab0f2a37dfc6a0ba4b10f3481fe251a4c079 (patch) | |
tree | 281fd0f13ed5d12ee778e83db584b736f1eb3369 /src | |
parent | a646475d4bde88bf6c342683bd6dd1fb3f71c7ef (diff) | |
download | bcfg2-077fab0f2a37dfc6a0ba4b10f3481fe251a4c079.tar.gz bcfg2-077fab0f2a37dfc6a0ba4b10f3481fe251a4c079.tar.bz2 bcfg2-077fab0f2a37dfc6a0ba4b10f3481fe251a4c079.zip |
YUMng: patch from Tim Laszlo to handle verifying broken symlinks
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6049 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/YUMng.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py index 24941a745..9ef0a3d14 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -499,6 +499,8 @@ class YUMng(Bcfg2.Client.Tools.PkgTool): continue tmp = [] for p in probs: + if p.type == 'missing' and os.path.islink(fn): + continue if p.type not in ['missingok', 'ghost']: tmp.append((p.type, p.message)) if tmp != []: |