From e62309a3910ecf9bacdf2518c7beb2da9bd94d06 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Tue, 4 Dec 2018 21:51:08 +0100 Subject: [PATCH] Fix typos in comments Review by Stephen Frost and Jonathan S. Katz Discussion: https://postgr.es/m/6EEB2B47-D274-4E65-83B1-2EF8C917C55F%40yesql.se --- pgweb/survey/models.py | 2 +- tools/communityauth/sample/django/auth.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pgweb/survey/models.py b/pgweb/survey/models.py index df33e448..9ea171ae 100644 --- a/pgweb/survey/models.py +++ b/pgweb/survey/models.py @@ -64,7 +64,7 @@ class Survey(models.Model): def save(self): # Make sure only one survey at a time can be the current one - # (there may be some small race conditions here, but the likelyhood + # (there may be some small race conditions here, but the likelihood # that two admins are editing the surveys at the same time...) if self.current: previous = Survey.objects.filter(current=True) diff --git a/tools/communityauth/sample/django/auth.py b/tools/communityauth/sample/django/auth.py index 6cf2c808..5bdacc2c 100644 --- a/tools/communityauth/sample/django/auth.py +++ b/tools/communityauth/sample/django/auth.py @@ -197,7 +197,7 @@ We apologize for the inconvenience. # Unlike the authentication, searching does not involve the browser - we just make # a direct http call. def user_search(searchterm=None, userid=None): - # If upsteam isn't responding quickly, it's not going to respond at all, and + # If upstream isn't responding quickly, it's not going to respond at all, and # 10 seconds is already quite long. socket.setdefaulttimeout(10) if userid: -- 2.39.5