mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
remove empty parens after class definition so Python 2.4.2 can parse it
This commit is contained in:
parent
3359646b02
commit
93e916eb39
@ -4,7 +4,7 @@ import re
|
||||
# inspired from http://code.google.com/p/iniparse/ - although their implementation is
|
||||
# quite different
|
||||
|
||||
class ConfigLineOrder():
|
||||
class ConfigLineOrder:
|
||||
"""
|
||||
A ConfigLineOrder() instance task is to preserve the order of a config file.
|
||||
It keeps track of all lines (including comments) in the _lines list. This list
|
||||
@ -67,7 +67,7 @@ class ConfigLineOrder():
|
||||
yield line.name
|
||||
raise StopIteration()
|
||||
|
||||
class Line():
|
||||
class Line:
|
||||
"""Base class for all line objects"""
|
||||
def __init__(self, name, type):
|
||||
self.name = name
|
||||
|
Loading…
Reference in New Issue
Block a user