fix: maint: Fix linter error after merging #29294

Closes: #40011
7 jobs for maint-1.1 in 36 minutes and 35 seconds (queued for 66 minutes and 48 seconds)
Status Name Job ID Coverage
  Test
passed python36tor035 #1733

00:12:08

passed python36tor041 #1734

00:11:43

passed python36tor042 #1735

00:10:55

passed python36torstable #1736

00:12:21

passed python37 #1737

00:15:45

passed python38 #1738

00:15:44

passed python39 #1739

00:11:48