X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdbconn.py;h=93ec11720379e99549272cae3af94718a2bfacba;hb=d6fb77d2760192195245e87d6f60a418c465d0b1;hp=6ea3aa398beaa1745795321e3d3d7bc3af2759f5;hpb=91909dc5020b4779dffaaf3c2feeed2584a1c169;p=dak.git diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 6ea3aa39..93ec1172 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -1567,8 +1567,8 @@ __all__.append('get_location') ################################################################################ class Maintainer(object): - def __init__(self, *args, **kwargs): - pass + def __init__(self, name = None): + self.name = name def __repr__(self): return '''''' % (self.name, self.maintainer_id) @@ -2106,8 +2106,9 @@ __all__.append('get_sections') ################################################################################ class DBSource(object): - def __init__(self, *args, **kwargs): - pass + def __init__(self, maintainer = None, changedby = None): + self.maintainer = maintainer + self.changedby = changedby def __repr__(self): return '' % (self.source, self.version)