Changeset 2648 for package_branches/invirt-web/cherrypy/code/main.py
- Timestamp:
- Dec 19, 2009, 10:30:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2642 r2648 359 359 """Handler for running commands like boot and delete on a VM.""" 360 360 back = kwargs.get('back') 361 if command_name == 'delete': 362 back = 'list' 361 363 try: 362 364 d = controls.commandResult(cherrypy.request.login, 363 365 cherrypy.request.state, 364 366 command_name, machine_id, kwargs) 365 if d['command'] == 'Delete VM':366 back = 'list'367 367 except InvalidInput, err: 368 368 if not back:
Note: See TracChangeset
for help on using the changeset viewer.