Changeset 2421 for package_branches/invirt-web/cherrypy/code
- Timestamp:
- Aug 9, 2009, 11:24:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2418 r2421 222 222 """Handler for running commands like boot and delete on a VM.""" 223 223 if cherrypy.request.method != "POST": 224 raise InvalidInput(" command_name", command_name, "That's not a valid command")224 raise InvalidInput("request.method", command_name, "You must execute commands via POST") 225 225 back = kwargs.get('back', None) 226 226 try:
Note: See TracChangeset
for help on using the changeset viewer.