Index: sasview/welcome_panel.py
===================================================================
--- sasview/welcome_panel.py	(revision 3a39c2e89f90377b2d15fa13b9ba9cf3b4144070)
+++ sasview/welcome_panel.py	(revision 7425bcfef7eef59db0516f4e0f166f6c6fe81478)
@@ -1,5 +1,4 @@
 """
     Welcome page
-    
 """
 import wx
@@ -11,14 +10,15 @@
 from wx.lib.scrolledpanel import ScrolledPanel
 from sas.guiframe.panel_base import PanelBase
-#Font size width 
-if sys.platform.count("win32")>0:
+#Font size width
+if sys.platform.count("win32") > 0:
     FONT_VARIANT = 0
 else:
-    FONT_VARIANT = 1 
- 
+    FONT_VARIANT = 1
+
 class WelcomePanel(wx.aui.AuiNotebook, PanelBase):
     """
         Panel created like about box  as a welcome page
-        Shows product name, current version, authors, and link to the product page.
+        Shows product name, current version, authors,
+        and link to the product page.
     """
     ## Internal nickname for the window, used by the AUI manager
@@ -28,9 +28,9 @@
     ## Flag to tell the AUI manager to put this panel in the center pane
     CENTER_PANE = True
-   
-    
+
+
     def __init__(self, parent, *args, **kwds):
         kwds["style"] = wx.aui.AUI_NB_DEFAULT_STYLE
-        
+
         wx.aui.AuiNotebook.__init__(self, parent, *args, **kwds)
         PanelBase.__init__(self)
@@ -38,11 +38,12 @@
         self.parent = parent.parent
         self.frame = None
-       
+        self.manager = None
+
         welcome_page = WelcomePage(self)
         self.AddPage(welcome_page, "Welcome")
-        
+
         self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.on_close_page)
         self.Center()
-    
+
     def set_manager(self, manager):
         """
@@ -50,18 +51,18 @@
         """
         self.manager = manager
-        
+
     def on_close_page(self, event):
         """
-            
+            Called when the welcome panel is closed
         """
         if self.parent is not None:
             self.parent.on_close_welcome_panel()
-        event.Veto() 
-        
-    def set_data(self, list=None):
+        event.Veto()
+
+    def set_data(self, data=None):
         """
         """
         pass
-    
+
     def set_frame(self, frame):
         """
@@ -70,15 +71,16 @@
         if frame != None:
             self.frame.Bind(wx.EVT_CLOSE, self.on_close_page)
-    
+
     def get_frame(self):
         """
         """
         return self.frame
-    
-    
+
+
 class WelcomePage(ScrolledPanel):
     """
         Panel created like about box  as a welcome page
-        Shows product name, current version, authors, and link to the product page.
+        Shows product name, current version, authors,
+        and link to the product page.
     """
     ## Internal nickname for the window, used by the AUI manager
@@ -88,29 +90,31 @@
     ## Flag to tell the AUI manager to put this panel in the center pane
     CENTER_PANE = True
-   
-    
+
+
     def __init__(self, parent, *args, **kwds):
-        import local_config
         kwds["style"] = wx.DEFAULT_DIALOG_STYLE
-       
+
         ScrolledPanel.__init__(self, parent, **kwds)
         self.SetupScrolling()
-        image = os.path.join(local_config._welcome_image)
-        self.SetWindowVariant(variant = FONT_VARIANT)
+        image = os.path.join(config._welcome_image)
+        self.SetWindowVariant(variant=FONT_VARIANT)
         self.bitmap_logo = wx.StaticBitmap(self, -1, wx.Bitmap(image))
-       
+
         self.label_copyright = wx.StaticText(self, -1, config._copyright)
         self.static_line_1 = wx.StaticLine(self, -1)
-        self.label_acknowledgement = wx.StaticText(self, -1, config._acknowledgement)
-        
-        self.hyperlink_license = wx.StaticText(self, -1, 
+        self.label_acknowledgement = wx.StaticText(self, -1,
+                                                   config._acknowledgement)
+
+        self.hyperlink_license = wx.StaticText(self, -1,
                                                "Comments? Bugs? Requests?")
         send_ticket = "Send us a ticket at: "
         send_ticket += "help@sasview.org"
-        self.hyperlink_paper = wx.lib.hyperlink.HyperLinkCtrl(self, -1,
-            send_ticket, URL=config._license)
-        
-        self.label_title = wx.StaticText(self, -1, 
-            config.__appname__+ " "+str(config.__version__))
+        self.hyperlink_paper = \
+            wx.lib.hyperlink.HyperLinkCtrl(self, -1,
+                                           send_ticket, URL=config._license)
+
+        self.label_title = \
+            wx.StaticText(self, -1,
+                          config.__appname__ + " " + str(config.__version__))
         try:
             build_num = str(config.__build__)
@@ -118,35 +122,35 @@
             build_num = str(config.__version__)
         self.label_build = wx.StaticText(self, -1, "Build: " + build_num)
-     
+
         sizer_main = wx.BoxSizer(wx.VERTICAL)
         sizer_header = wx.BoxSizer(wx.HORIZONTAL)
         sizer_build = wx.BoxSizer(wx.VERTICAL)
-       
-        sizer_header.Add(self.bitmap_logo, 0, wx.EXPAND|wx.LEFT, 5)
-        
+
+        sizer_header.Add(self.bitmap_logo, 0, wx.EXPAND | wx.LEFT, 5)
+
         sizer_build.Add(self.label_acknowledgement, 0,
-                        wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15)  
-        sizer_build.Add((5,5))
+                        wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
+        sizer_build.Add((5, 5))
         sizer_build.Add(self.label_title, 0,
-                        wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15)  
-        sizer_build.Add(self.label_build, 0, 
-                        wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15)  
+                        wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
+        sizer_build.Add(self.label_build, 0,
+                        wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
         sizer_build.Add(self.label_copyright, 0,
-                        wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
+                        wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
         sizer_build.Add((5, 5))
         sizer_build.Add(self.hyperlink_license, 0,
-                        wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
+                        wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
         sizer_build.Add(self.hyperlink_paper, 0,
-                        wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
-        
-        sizer_main.Add(sizer_header, 0, wx.TOP|wx.EXPAND, 3)
+                        wx.LEFT | wx.EXPAND | wx.ADJUST_MINSIZE, 15)
+
+        sizer_main.Add(sizer_header, 0, wx.TOP | wx.EXPAND, 3)
         sizer_main.Add(self.static_line_1, 0, wx.EXPAND, 0)
-        sizer_main.Add(sizer_build,0 , wx.BOTTOM|wx.EXPAND, 3)
-        
+        sizer_main.Add(sizer_build, 0, wx.BOTTOM | wx.EXPAND, 3)
+
         self.SetAutoLayout(True)
         self.SetSizer(sizer_main)
         self.Fit()
-        
-    def set_data(self, list=None):
+
+    def set_data(self, data=None):
         """
         """
@@ -158,5 +162,5 @@
     """
     def OnInit(self):
-        self.frame = WelcomeFrame(None, -1, "Test App")    
+        self.frame = WelcomeFrame(None, -1, "Test App")
         self.frame.Show(True)
         return True
@@ -171,6 +175,6 @@
         self.Centre()
         self.Show(True)
-   
-if __name__ == "__main__": 
+
+if __name__ == "__main__":
     app = ViewApp(0)
     app.MainLoop()
