Skip to content

Commit

Permalink
fix function name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed May 5, 2024
1 parent 53bbf6d commit 889ee40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def post_sanitycheck_cuDNN(self, *args, **kwargs):
search_string = "2. Distribution. The following portions of the SDK are distributable under the Agreement:"
with open(license_path) as infile:
for line in infile:
if line.strip().startswidth(search_string):
if line.strip().startswith(search_string):
# remove search string, split into words, remove trailing
# dots '.' and only retain words starting with a dot '.'
distributable = line[len(search_string):]
Expand Down

0 comments on commit 889ee40

Please sign in to comment.