Skip to content

Commit 18bf47a

Browse files
committed
[RRU] Fix Up spelling issues
Addressing PR feedback, non-functional changes.
1 parent 58a9ee7 commit 18bf47a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rolling-release-update.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import re
66
import git
77

8-
FIPS_PROTECTED_DIRECOTRIES=[b'arch/x86/crypto/', b'cypto/aysmmetric_keys/', b'crypto/', b'drivers/crypto/',
9-
b'drivers/char/random.c', b'include/cyrpto']
8+
FIPS_PROTECTED_DIRECTORIES=[b'arch/x86/crypto/', b'cypto/asymmetric_keys/', b'crypto/', b'drivers/crypto/',
9+
b'drivers/char/random.c', b'include/crypto']
1010

1111
def find_common_tag(old_tags, new_tags):
1212
for tag in old_tags:
@@ -46,7 +46,7 @@ def check_for_fips_protected_changes(repo, branch, common_tag):
4646
shas_to_check = []
4747
commits_checked = 0
4848

49-
print('[rolling release update] Checkking modifications of shas')
49+
print('[rolling release update] Checking modifications of shas')
5050
for sha in results.stdout.split(b'\n'):
5151
commits_checked += 1
5252
if commits_checked % (num_commits//10) == 0:
@@ -68,7 +68,7 @@ def check_for_fips_protected_changes(repo, branch, common_tag):
6868
if line == b'':
6969
continue
7070

71-
for dir in FIPS_PROTECTED_DIRECOTRIES:
71+
for dir in FIPS_PROTECTED_DIRECTORIES:
7272
if line.startswith(dir):
7373
print(f'FIPS protected directory change found in commit {sha}')
7474
print(sha_hash_and_subject)
@@ -196,7 +196,7 @@ def check_for_fips_protected_changes(repo, branch, common_tag):
196196
exit(1)
197197

198198

199-
print('[rolling release update] Crating Map of all new commits from last rolling release fork')
199+
print('[rolling release update] Creating Map of all new commits from last rolling release fork')
200200
new_base_commit_map = {}
201201
new_base_commit_map_rev = {}
202202
new_base_commits = repo.git.log(f'{latest_resf_sha.decode()}..HEAD')

0 commit comments

Comments
 (0)