Changeset 247


Ignore:
Timestamp:
Nov 27, 2007, 2:06:29 AM (16 years ago)
Author:
ecprice
Message:

Makes deleting VMs work with the access controls.

Location:
trunk/web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/controls.py

    r243 r247  
    202202        for disk in machine.disks:
    203203            ctx.current.delete(disk)
     204        for access in machine.users:
     205            ctx.current.delete(access)
    204206        ctx.current.delete(machine)
    205207        transaction.commit()
  • trunk/web/main.py

    r246 r247  
    1313import time
    1414from StringIO import StringIO
    15 
    1615
    1716def revertStandardError():
     
    642641        operation = 'list'
    643642
    644     #main(operation, u, fields)
    645     import profile
    646     profile.run('main(operation, u, fields)', 'log-'+operation)
    647 
     643    main(operation, u, fields)
     644    #import profile
     645    #profile.run('main(operation, u, fields)', 'log-'+operation)
     646
Note: See TracChangeset for help on using the changeset viewer.