From bc69ac9cd5e0a404c8f12e50b14b2029cbdf5465 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 4 Dec 2019 00:14:01 +0100 Subject: [PATCH] I'm not really sure of what I fixed --- poetry/version/markers.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/poetry/version/markers.py b/poetry/version/markers.py index 28b0bb74861..6fd9c8f2856 100644 --- a/poetry/version/markers.py +++ b/poetry/version/markers.py @@ -614,6 +614,12 @@ def without_extras(self): return MarkerUnion(*new_markers) + def is_any(self): # type: () -> bool + for marker in self.markers: + if not marker.is_any(): + return False + return True + def __eq__(self, other): if not isinstance(other, MarkerUnion): return False