Simplify method by removing else branch after return.

This commit is contained in:
Bastian Kleineidam 2010-03-06 12:09:05 +01:00
parent a2fb1e578f
commit 4cee825589
1 changed files with 35 additions and 36 deletions

View File

@ -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