Some little python code to visualize an LDAP structure.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
450 B

"""
This holds a generated Event.
Author: Georg Hopp <ghopp@spamtitan.com>
"""
class Event(object):
_SERIAL = 0
def __init__(self, name, type, subject):
self.name = name
self.type = type
self.subject = subject
self.data = None
self.sno = Event._SERIAL
Event._SERIAL += 1
def setData(self, data):
self.data = data
# vim: set ft=python et ts=8 sw=4 sts=4: