Skip to content

Commit 0f5050e

Browse files
committed
wiki
1 parent eb0b93d commit 0f5050e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

system/hardware/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def is_comma_profile(self, iccid: str) -> bool:
9898
return any(iccid.startswith(prefix) for prefix in ('8985235',))
9999

100100
def _validate_iccid(self, iccid: str) -> None:
101+
# https://en.wikipedia.org/wiki/E.118#ICCID
101102
assert re.match(r'^89\d{17,18}$', iccid), 'invalid ICCID format. expected format: 8988303000000614227'
102103

103104
def _validate_lpa_activation_code(self, lpa_activation_code: str) -> None:

0 commit comments

Comments
 (0)