From d1300e4c00a4e61097cdd7141112ec3a6894c494 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 4 Dec 2007 19:58:09 -0500 Subject: Begin removing references to anaconda.method and anaconda.methodstr. Remove method references from the Anaconda object, along with various support functions that import methods and return instances of methods. This also removes method instances from the backend. --- installclass.py | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'installclass.py') diff --git a/installclass.py b/installclass.py index d6a8806fa..74036c513 100644 --- a/installclass.py +++ b/installclass.py @@ -412,25 +412,6 @@ class BaseInstallClass(object): mouse.set(mouseName, emulThree, device) id.setMouse(mouse) - def getMethod(self, methodstr): - if methodstr.startswith('cdrom://'): - from image import CdromInstallMethod - return CdromInstallMethod - elif methodstr.startswith('nfs:/'): - from image import NfsInstallMethod - return NfsInstallMethod - elif methodstr.startswith('nfsiso:/'): - from image import NfsIsoInstallMethod - return NfsIsoInstallMethod - elif methodstr.startswith('ftp://') or methodstr.startswith('http://'): - from urlinstall import UrlInstallMethod - return UrlInstallMethod - elif methodstr.startswith('hd://'): - from harddrive import HardDriveInstallMethod - return HardDriveInstallMethod - else: - return None - def getBackend(self, methodstr): # this should be overriden in distro install classes from backend import AnacondaBackend -- cgit