From 6893e2c1d116d7bb23f08be341d5a0971dbc03e8 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Thu, 5 May 2022 21:19:34 +1200 Subject: [PATCH] wintest: Remove unreachable return statement Signed-off-by: Joseph Sutton Reviewed-by: Andreas Schneider --- wintest/wintest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/wintest/wintest.py b/wintest/wintest.py index 914b5d61689..5a52427f333 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -136,7 +136,6 @@ class wintest(): if var_name not in self.vars: raise RuntimeError("Unknown substitution variable ${%s}" % var_name) text = text.replace("${%s}" % var_name, self.vars[var_name]) - return text def have_var(self, varname): '''see if a variable has been set'''