[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[master 2/3] After 17233a16, vncS is no longer a global.
- From: Ales Kozumplik <akozumpl redhat com>
- To: anaconda-devel-list redhat com
- Subject: [master 2/3] After 17233a16, vncS is no longer a global.
- Date: Tue, 22 Mar 2011 18:42:40 +0100
---
anaconda | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/anaconda b/anaconda
index fd62b45..94d6306 100755
--- a/anaconda
+++ b/anaconda
@@ -278,8 +278,7 @@ def expandFTPMethod(str):
except:
return None
-def runVNC():
- global vncS
+def runVNC(vncS):
vncS.startServer()
child = os.fork()
@@ -625,7 +624,7 @@ def setupDisplay(anaconda, opts):
# if they want us to use VNC do that now
if anaconda.displayMode == 'g' and flags.usevnc:
- runVNC()
+ runVNC(vncS)
doStartupX11Actions()
# with X running we can initialize the UI interface
--
1.7.3.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]