Commit 032ff62d authored by Jason R. Coombs's avatar Jason R. Coombs

Remove unnecessary branch

parent 7e663987
......@@ -2300,8 +2300,7 @@ class EntryPoint(object):
except ValueError:
msg = "EntryPoint must be in 'name=module:attrs [extras]' format"
raise ValueError(msg, src)
else:
return cls(name.strip(), value.strip(), attrs, extras, dist)
return cls(name.strip(), value.strip(), attrs, extras, dist)
@classmethod
def parse_group(cls, group, lines, dist=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment