Changeset 2726 for package_branches/invirt-web/cherrypy-rebased/code
- Timestamp:
- Dec 20, 2009, 9:47:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/main.py
r2720 r2726 354 354 """Handler for running commands like boot and delete on a VM.""" 355 355 back = kwargs.get('back') 356 if command_name == 'delete': 357 back = 'list' 356 358 try: 357 359 d = controls.commandResult(cherrypy.request.login, 358 360 cherrypy.request.state, 359 361 command_name, machine_id, kwargs) 360 if d['command'] == 'Delete VM':361 back = 'list'362 362 except InvalidInput, err: 363 363 if not back:
Note: See TracChangeset
for help on using the changeset viewer.