1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00

Remove unused dict argument from OscConfigParser.SectionLine's init

This commit is contained in:
Daniel Mach 2022-08-29 15:01:30 +02:00
parent 4b487d4f99
commit f54ff7f9c3

View File

@ -92,10 +92,9 @@ class SectionLine(Line):
this certain section in the _lines list. The _lines list either contains
CommentLine() or OptionLine() instances.
"""
def __init__(self, sectname, dict = {}):
def __init__(self, sectname):
Line.__init__(self, sectname, 'section')
self._lines = []
self._dict = dict
def _find(self, name):
for line in self._lines: