1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-28 23:46:13 +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 # inspired from http://code.google.com/p/iniparse/ - although their implementation is
# quite different # quite different
class ConfigLineOrder(): class ConfigLineOrder:
""" """
A ConfigLineOrder() instance task is to preserve the order of a config file. 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 It keeps track of all lines (including comments) in the _lines list. This list
@ -67,7 +67,7 @@ class ConfigLineOrder():
yield line.name yield line.name
raise StopIteration() raise StopIteration()
class Line(): class Line:
"""Base class for all line objects""" """Base class for all line objects"""
def __init__(self, name, type): def __init__(self, name, type):
self.name = name self.name = name