Changeset 2450 for package_branches/invirt-web/cherrypy/code/main.py
- Timestamp:
- Aug 21, 2009, 12:13:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2449 r2450 311 311 else: 312 312 print >>sys.stderr, "spawning new session for terminal to ",machine_id 313 term = self.at sessions[machine_id] = self.atmulti.create(313 term = self.atmulti.create( 314 314 ["ssh", "-e","none", "-l", machine.name, config.console.hostname] 315 315 ) 316 # Clear out old sessions when fd is reused 317 for key in self.atsessions: 318 if self.atsessions[key] == term: 319 del self.atsessions[key] 320 self.atsessions[machine_id] = term 316 321 if k: 317 322 self.atmulti.proc_write(term,k)
Note: See TracChangeset
for help on using the changeset viewer.