Changeset 265 for trunk/web


Ignore:
Timestamp:
Jan 29, 2008, 11:47:34 PM (17 years ago)
Author:
ecprice
Message:

Update acls on creation and don't always through a spurious error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/controls.py

    r261 r265  
    1111import time
    1212import re
     13import cache_acls
    1314
    1415# ... and stolen from xend/uuid.py
     
    8485                           'VM %s is already on' % machine.name)
    8586    elif err:
    86         raise CodeError('"%s" on "control %s create %s'
    87                         % (err, machine.name, cdtype))
    88     else:
    8987        raise CodeError('"%s" on "control %s create %s'
    9088                        % (err, machine.name, cdtype))
     
    132130        ctx.current.save(nic)   
    133131        ctx.current.save(disk)
     132        cache_acls.refreshMachine(machine)
    134133        transaction.commit()
    135134    except:
Note: See TracChangeset for help on using the changeset viewer.