Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to computing-help@ligo.org.

Commit 8277c96b authored by Duncan Macleod's avatar Duncan Macleod

Revert "Merge branch 'python-segment-contains' into 'master'"

This reverts merge request !5
parent 8af238a7
Pipeline #24298 passed with stages
in 7 minutes and 52 seconds
......@@ -454,7 +454,7 @@ class segment(tuple):
"""
try:
a, b = other
except (ValueError, TypeError):
except ValueError:
return self[0] <= other < self[1]
else:
return (self[0] <= a) and (self[1] >= b)
......
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