Commit 91077fd3 authored by Kipp Cannon's avatar Kipp Cannon

lsctables: fix keyword arguments for Segment()

parent c8d0b23e
Pipeline #14489 passed with stages
in 10 minutes and 39 seconds
......@@ -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:
# first try unpacking arguments
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