Fix typos in comments
authorDaniel Gustafsson <daniel@yesql.se>
Tue, 4 Dec 2018 20:51:08 +0000 (21:51 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Tue, 4 Dec 2018 20:51:08 +0000 (21:51 +0100)
Review by Stephen Frost and Jonathan S. Katz
Discussion: https://postgr.es/m/6EEB2B47-D274-4E65-83B1-2EF8C917C55F%40yesql.se

pgweb/survey/models.py
tools/communityauth/sample/django/auth.py

index df33e44835c67510ae98f8ab3614100b90d68dd5..9ea171ae57d6f5e7da6b7ea76b15a70d12911fb7 100644 (file)
@@ -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)
index 6cf2c808d2177c7f0f99b3e8ac9bca983b8b7df6..5bdacc2c015139d0192109c91e8db1359c3a7a4d 100644 (file)
@@ -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: