[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] remove unused variables in installpath_gui.py



Patch attached.
-- 
Matt Wilson
rpath, Inc.
msw rpath com
Index: iw/installpath_gui.py
===================================================================
RCS file: /usr/local/CVS/anaconda/iw/installpath_gui.py,v
retrieving revision 1.49
diff -u -r1.49 installpath_gui.py
--- iw/installpath_gui.py	12 Mar 2005 03:01:54 -0000	1.49
+++ iw/installpath_gui.py	15 Aug 2005 21:03:24 -0000
@@ -19,15 +19,7 @@
 from flags import flags
 from rhpl.translate import _, N_
 
-UPGRADE = 0
-INSTALL = 1
-
-CUSTOM = 2
-WORKSTATION_GNOME = 3
-WORKSTATION_KDE = 4
-SERVER = 5
-
-class InstallPathWindow (InstallWindow):		
+class InstallPathWindow (InstallWindow):
 
     installTypes = installclass.availableClasses()
     htmlTag = "instpath"
@@ -66,13 +58,13 @@
 
 
     # InstallPathWindow tag="instpath"
-    def getScreen(self, dispatch, id, method, intf): 
+    def getScreen(self, dispatch, id, method, intf):
         self.id = id
         self.intf = intf
 	self.flags = flags
 	self.method = method
 	self.dispatch = dispatch
-	
+
         vbox = gtk.VBox (False, 10)
 	vbox.set_border_width (8)
 
@@ -104,7 +96,7 @@
 	    self.currentClassName = currentClass.name
 
 	self.r.setCurrent(self.currentClassName)
-	
+
 	box = gtk.VBox (False)
         box.pack_start(b, False)
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]