projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d451a23
)
oops
author
Geoffrey Thomas
<geofft@mit.edu>
Thu, 31 Jul 2008 02:20:28 +0000
(22:20 -0400)
committer
Geoffrey Thomas
<geofft@mit.edu>
Thu, 31 Jul 2008 02:20:28 +0000
(22:20 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=799
code/main.py
patch
|
blob
|
history
diff --git
a/code/main.py
b/code/main.py
index
7af4ecc
..
03d7eb1
100755
(executable)
--- a/
code/main.py
+++ b/
code/main.py
@@
-260,7
+260,7
@@
def vnc(username, state, path, fields):
host = controls.listHost(machine)
if host:
port = 10003 + [config_host["hostname"] for config_host in invirt_config["hosts"]
- ].index(controls.listHost(machine))
+ ].index(host)
else:
port = 5900 # dummy