Changeset 2454 for package_branches/invirt-web/cherrypy/code/main.py
- Timestamp:
- Aug 21, 2009, 12:42:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2452 r2454 305 305 @cherrypy.tools.require_POST() 306 306 @cherrypy.tools.gzip() 307 def at(self, machine_id, k=None, c=0, force=0):307 def at(self, machine_id, k=None, c=0, h=None): 308 308 machine = validation.Validate(cherrypy.request.login, cherrypy.request.state, machine_id=machine_id).machine 309 309 with self.atsessions_lock: … … 323 323 self.atmulti.proc_write(term,k) 324 324 time.sleep(0.002) 325 dump=self.atmulti.dump(term,c, int(force))325 dump=self.atmulti.dump(term,c,h) 326 326 cherrypy.response.headers['Content-Type']='text/xml' 327 327 if isinstance(dump,str):
Note: See TracChangeset
for help on using the changeset viewer.