2006-04-15 22:00:23 +02:00
|
|
|
#
|
|
|
|
# Domain manager class for gnuviech-admin tool backend
|
|
|
|
# (c) 2006 Jan Dittberner <jan@dittberner.info>
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
from SessionManager import Session
|
|
|
|
|
|
|
|
class DomainManager:
|
2006-04-17 21:20:14 +02:00
|
|
|
def __init__(self, dbconn):
|
|
|
|
self._dbconn = dbconn
|
|
|
|
|
2006-04-15 22:00:23 +02:00
|
|
|
def listDomains(self, session):
|
|
|
|
if isinstance(session, Session):
|
|
|
|
return 'a,b,c'
|
|
|
|
return ''
|