There was an error while loading. Please reload this page.
1 parent bc5be6b commit 1e76d9cCopy full SHA for 1e76d9c
1 file changed
ietf/community/utils.py
@@ -81,7 +81,7 @@ def update_name_contains_indexes_with_new_doc(doc):
81
# Django doesn't support a reversed regex operator, and regexp
82
# support needs backend-specific code so custom SQL is a bit
83
# cumbersome too
84
- if re.search(r.text, doc.name) and not d in r.name_contains_index.all():
+ if re.search(r.text, doc.name) and not doc in r.name_contains_index.all():
85
r.name_contains_index.add(doc)
86
87
def docs_matching_community_list_rule(rule):
0 commit comments