summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-12-04 19:58:09 -0500
committerChris Lumens <clumens@redhat.com>2007-12-05 10:30:46 -0500
commitd1300e4c00a4e61097cdd7141112ec3a6894c494 (patch)
tree21cf7cb9120ef4936760d46d0c387296474b1d8a /installclass.py
parent52a9331a20f82fd6f3aef18492fd2af61f830bdf (diff)
downloadanaconda-d1300e4c00a4e61097cdd7141112ec3a6894c494.tar.gz
anaconda-d1300e4c00a4e61097cdd7141112ec3a6894c494.tar.xz
anaconda-d1300e4c00a4e61097cdd7141112ec3a6894c494.zip
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.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py19
1 files changed, 0 insertions, 19 deletions
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