mirror of
https://github.com/samba-team/samba.git
synced 2025-02-07 01:58:28 +03:00
wintest: Remove unreachable return statement
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
6c1142da64
commit
6893e2c1d1
@ -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'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user