Пример #1
0
	def __init__(self, shortname, passwd, longname=None, devices=[]):
		self.name = shortname
		self.fullname = shortname
		if longname: self.fullname = longname
		self.passwd = PasswordProperty(passwd)
		self.devices = devices
		Model.__init__(self)
Пример #2
0
	def __init__(self, parent):
		self.parent = parent
		Model.__init__(self)
Пример #3
0
	def __init__(cls):
		Model.__init__(cls)
Пример #4
0
	def __init__(cls, queue, user):
		Model.__init__(cls)