Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
lscsoft
glue
Commits
91077fd3
Commit
91077fd3
authored
Mar 12, 2018
by
Kipp Cannon
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lsctables: fix keyword arguments for Segment()
parent
c8d0b23e
Pipeline
#14489
passed with stages
in 10 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
glue/ligolw/lsctables.py
glue/ligolw/lsctables.py
+3
-1
No files found.
glue/ligolw/lsctables.py
View file @
91077fd3
...
...
@@ -3650,7 +3650,9 @@ class Segment(table.Table.RowType):
def
__getitem__
(
self
,
i
):
return
self
.
segment
[
i
]
def
__init__
(
self
,
*
args
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
if
kwargs
:
super
(
Segment
,
self
).
__init__
(
**
kwargs
)
if
args
:
try
:
# first try unpacking arguments
...
...
Kipp Cannon
@kipp.cannon
mentioned in issue
#8 (closed)
·
Mar 13, 2018
mentioned in issue
#8 (closed)
mentioned in issue #8
Toggle commit list
Ryan Fisher
@ryan.fisher
·
Mar 13, 2018
Maintainer
Thanks
@kipp.cannon
and
@leo-singer
Thanks @kipp.cannon and @leo-singer
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