1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-27 15:06:15 +01:00

remove empty parens after class definition so Python 2.4.2 can parse it

This commit is contained in:
Dr. Peter Poeml 2008-08-07 17:51:28 +00:00
parent 3359646b02
commit 93e916eb39

View File

@ -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