Changeset 797 for trunk/packages/sipb-xen-www/code
- Timestamp:
- Jul 30, 2008, 10:16:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/main.py
r770 r797 258 258 token = cPickle.dumps(token) 259 259 token = base64.urlsafe_b64encode(token) 260 port = 10003 + [config_host["hostname"] for config_host in invirt_config["hosts"] 261 ].index(controls.listHost(machine)) 260 host = controls.listHost(machine) 261 if host: 262 port = 10003 + [config_host["hostname"] for config_host in invirt_config["hosts"] 263 ].index(controls.listHost(machine)) 264 else: 265 port = 5900 # dummy 262 266 263 267 status = controls.statusInfo(machine)
Note: See TracChangeset
for help on using the changeset viewer.