Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Sep 6, 2023
1 parent a9536a6 commit d00b47b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions python/nav/web/alertprofiles/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def __init__(self, *args, **kwargs):
# Values are selected from a multiple choice list.
# Populate that list with possible choices.

# MatcField stores which table and column alert engine should
# MatchField stores which table and column alert engine should
# watch, as well as a table and column for "friendly" names in
# the GUI and how we should sort the fields in the GUI (if we
# are displaying a list)
Expand Down Expand Up @@ -605,8 +605,8 @@ def __init__(self, *args, **kwargs):

choices = []
for obj in model_objects:
# ID is what is acctually used in the expression that will
# be evaluted by alert engine
# ID is what is actually used in the expression that will
# be evaluated by alert engine
ident = getattr(obj, attname)

if model == name_model:
Expand Down
2 changes: 1 addition & 1 deletion python/nav/web/alertprofiles/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ def filter_remove(request):

@requires_post('alertprofiles-filters', ('id', 'matchfield'))
def filter_addexpression(request):
"""Shows the form to add en expression to a filter"""
"""Shows the form to add an expression to a filter"""
try:
filtr = Filter.objects.get(pk=request.POST.get('id'))
except Filter.DoesNotExist:
Expand Down

0 comments on commit d00b47b

Please sign in to comment.