Skip to content

Commit cb2c034

Browse files
committed
Fix mispellings in comments.
1 parent 2d54a04 commit cb2c034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/cgi/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ def determine_language(self):
10831083

10841084
def authenticate_bearer_token(self, challenge):
10851085
''' authenticate the bearer token. Refactored from determine_user()
1086-
to alow it to be overridden if needed.
1086+
to allow it to be overridden if needed.
10871087
'''
10881088
try: # will jwt import?
10891089
import jwt
@@ -1190,7 +1190,7 @@ def determine_user(self):
11901190
try:
11911191
# make sure to str(token['sub']) the
11921192
# subject. As decoded by json, it is unicode
1193-
# which thows an error when used with 'nodeid
1193+
# which throws an error when used with 'nodeid
11941194
# in db' down the call chain.
11951195
user = self.db.user.get(str(token['sub']), 'username')
11961196
except IndexError:

0 commit comments

Comments
 (0)