summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--semantic_version/base.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/semantic_version/base.py b/semantic_version/base.py
index cf85d86..8877dbf 100644
--- a/semantic_version/base.py
+++ b/semantic_version/base.py
@@ -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