summaryrefslogtreecommitdiffstats
path: root/vnc.py
diff options
context:
space:
mode:
authorjgranado <jgranado>2007-10-30 17:19:46 +0000
committerjgranado <jgranado>2007-10-30 17:19:46 +0000
commit84761385ffac6aaaad006c291588bf8ccbccb4ba (patch)
tree4ad602fa4057cae7e51ff507a60f40916b1a020f /vnc.py
parent5b27847adbf2684326a38202e32ecbb36d57a28f (diff)
downloadanaconda-84761385ffac6aaaad006c291588bf8ccbccb4ba.tar.gz
anaconda-84761385ffac6aaaad006c291588bf8ccbccb4ba.tar.xz
anaconda-84761385ffac6aaaad006c291588bf8ccbccb4ba.zip
Fix the vncconnectport var in vnc.py.
Diffstat (limited to 'vnc.py')
-rw-r--r--vnc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/vnc.py b/vnc.py
index 87e2fb0f3..22e5d9157 100644
--- a/vnc.py
+++ b/vnc.py
@@ -32,7 +32,7 @@ class VncServer:
def __init__(self, display="1", root="/", ip=None, name=None,
desktop="Desktop", password="", vncconnecthost="",
- vncconnecport="", log_file="/tmp/vncserver.log",
+ vncconnectport="", log_file="/tmp/vncserver.log",
pw_file="/tmp/vncpassword", pw_init_file="/tmp/vncpassword.dat"):
self.display = display
self.root = root
@@ -41,7 +41,7 @@ class VncServer:
self.desktop = desktop
self.password = password
self.vncconnecthost = vncconnecthost
- self.vncconnecport = vncconnecport
+ self.vncconnectport = vncconnectport
self.log_file = log_file
self.pw_file = pw_file
self.pw_init_file = pw_init_file
@@ -167,8 +167,8 @@ class VncServer:
maxTries = 10
self.log.info(_("Attempting to connect to vnc client on host %s...") % (self.vncconnecthost,))
- if self.vncconnecport != "":
- hostarg = self.vncconnecthost + ":" + self.vncconnecport
+ if self.vncconnectport != "":
+ hostarg = self.vncconnecthost + ":" + self.vncconnectport
else:
hostarg = self.vncconnecthost