- Timestamp:
- Oct 6, 2008, 4:36:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/controls.py
r1013 r1074 227 227 action = fields.getfirst('action') 228 228 cdrom = fields.getfirst('cdrom') 229 if cdrom is not None and not CDROM. get(cdrom):229 if cdrom is not None and not CDROM.query().filter_by(cdrom_id=cdrom).one(): 230 230 raise CodeError("Invalid cdrom type '%s'" % cdrom) 231 231 if action not in ('Reboot', 'Power on', 'Power off', 'Shutdown',
Note: See TracChangeset
for help on using the changeset viewer.