FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-22-2011, 04:42 PM
Ales Kozumplik
 
Default After 17233a16, vncS is no longer a global.

---
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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org