diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-09-21 08:51:55 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-09-21 08:51:55 -0400 |
commit | d5afbbfd17608121ad8d79136f4abb2cbb5e3091 (patch) | |
tree | 61acc629cb07d5abb627a20e05cff7f48c37dc8d /src/lib/Server/Lint/RequiredAttrs.py | |
parent | 8a141b864eee1ead61409fc684bcdbfd1294f7fa (diff) | |
download | bcfg2-d5afbbfd17608121ad8d79136f4abb2cbb5e3091.tar.gz bcfg2-d5afbbfd17608121ad8d79136f4abb2cbb5e3091.tar.bz2 bcfg2-d5afbbfd17608121ad8d79136f4abb2cbb5e3091.zip |
bug fix : pop vs. remove
Diffstat (limited to 'src/lib/Server/Lint/RequiredAttrs.py')
-rw-r--r-- | src/lib/Server/Lint/RequiredAttrs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Lint/RequiredAttrs.py b/src/lib/Server/Lint/RequiredAttrs.py index 4d4e99f32..c021c2764 100644 --- a/src/lib/Server/Lint/RequiredAttrs.py +++ b/src/lib/Server/Lint/RequiredAttrs.py @@ -119,7 +119,7 @@ class RequiredAttrs(Bcfg2.Server.Lint.ServerPlugin): required_attrs |= set(['major', 'minor']) if '__text__' in required_attrs: - required_attrs.pop('__text__') + required_attrs.remove('__text__') if not entry.text: self.LintError("required-attrs-missing", "Text missing for %s %s in %s: %s" % |