summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Lint/RequiredAttrs.py2
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" %