Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
ligo-segments
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
ligo-segments
Commits
8277c96b
Commit
8277c96b
authored
Jul 04, 2018
by
Duncan Macleod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ligo/segments.py
ligo/segments.py
+1
-1
No files found.
ligo/segments.py
View file @
8277c96b
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment