We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7728d52 commit 2383e2aCopy full SHA for 2383e2a
scripts/retag_untagged.py
@@ -1,7 +1,7 @@
1
#!/usr/bin/env python3
2
"""
3
Script to replace all "UNTAGGED" strings in MSIDExecutionFlowConstants.m with unique 5-character tags.
4
-Tags use lowercase letters a-z and digits 1-9.
+Tags use lowercase letters a-z and digits 0-9.
5
6
7
import re
@@ -11,8 +11,8 @@
11
12
13
def generate_tag(existing_tags):
14
- """Generate a unique 5-character tag using a-z and 1-9."""
15
- chars = 'abcdefghijklmnopqrstuvwxyz123456789'
+ """Generate a unique 5-character tag using a-z and 0-9."""
+ chars = 'abcdefghijklmnopqrstuvwxyz0123456789'
16
max_attempts = 10000
17
18
for _ in range(max_attempts):
0 commit comments