Simplify method by removing else branch after return.
This commit is contained in:
parent
a2fb1e578f
commit
4cee825589
|
@ -162,7 +162,6 @@ class Baker(object):
|
|||
return lambda fn: self.command(fn, default=default,
|
||||
params=params,
|
||||
shortopts=shortopts)
|
||||
else:
|
||||
name = name or fn.__name__
|
||||
|
||||
# Inspect the argument signature of the function
|
||||
|
|
Loading…
Reference in New Issue