lint: Remove double return.

This commit is contained in:
Raphaël Barrois 2016-02-21 18:52:45 +01:00
parent a03a881055
commit 9872b3940e
1 changed files with 0 additions and 1 deletions

View File

@ -460,7 +460,6 @@ class SpecItem(object):
return version != self.spec
elif self.kind == self.KIND_CARET:
return self.spec <= version < self.spec.next_major()
return self.caret_compare(version)
elif self.kind == self.KIND_TILDE:
return self.spec <= version < self.spec.next_minor()
else: # pragma: no cover