Skip to content

Commit db1a181

Browse files
committed
warehouse: Link TODOs to tracking issue
1 parent 654494e commit db1a181

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

warehouse/macaroons/auth_policy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _extract_basic_macaroon(auth):
3838
except ValueError:
3939
return None
4040

41-
# TODO: Remove @token as an acceptable token username.
41+
# TODO: Remove @token as an acceptable token username (GH-6345)
4242
if auth_method != "@token" and auth_method != "^token":
4343
return None
4444

warehouse/macaroons/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def _extract_raw_macaroon(self, prefixed_macaroon):
4343
return None
4444

4545
prefix, split, raw_macaroon = prefixed_macaroon.partition("-")
46-
# TODO: Remove ':' as an acceptable delimiter for tokens.
46+
# TODO: Remove ':' as an acceptable delimiter for tokens (GH-6345)
4747
if prefix != "pypi" or not split:
4848
prefix, _, raw_macaroon = prefixed_macaroon.partition(":")
4949

0 commit comments

Comments
 (0)