from webcommon import InvalidInput, CodeError, State
import controls
from getafsgroups import getAfsGroupMembers
-import sipb_xen_database
-from invirt import database
+import sipb_xen_database as database
from sipb_xen_database import Machine, CDROM, ctx, connect, MachineAccess, Type, Autoinstall
from invirt.config import structs as config
else:
return '<p>STDERR:</p><pre>' + str(addition) + '</pre>'
-Template.sipb_xen_database = sipb_xen_database
+Template.database = database
Template.helppopup = staticmethod(helppopup)
Template.err = None
def __iter__(self):
start_time = time.time()
- sipb_xen_database.clear_cache()
+ database.clear_cache()
sys.stderr = StringIO()
fields = cgi.FieldStorage(fp=self.environ['wsgi.input'], environ=self.environ)
operation = self.environ.get('PATH_INFO', '')