from webcommon import InvalidInput, CodeError, State
import controls
from getafsgroups import getAfsGroupMembers
-import sipb_xen_database as database
-from sipb_xen_database import Machine, CDROM, ctx, connect, MachineAccess, Type, Autoinstall
+from invirt import database
+from invirt.database import Machine, CDROM, ctx, connect, MachineAccess, Type, Autoinstall
from invirt.config import structs as config
def pathSplit(path):
return '<p>STDERR:</p><pre>' + str(addition) + '</pre>'
Template.database = database
+Template.config = config
Template.helppopup = staticmethod(helppopup)
Template.err = None