From 889ee40a9e4422b20249faa77638127db8d8f1e4 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Sun, 5 May 2024 20:12:45 +0200 Subject: [PATCH] fix function name typo --- eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index 44877103ea..223b14455d 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -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):]