summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-09-07 19:31:05 +0000
committerChris Lumens <clumens@redhat.com>2006-09-07 19:31:05 +0000
commit25fa74e5b02978ba2e1b4aaebcf493c4733718e0 (patch)
tree0abb735822568e7a6f1aedfe57700967f89602b3 /image.py
parent21193cd48e6d23048e66b86624c464797b2f8358 (diff)
downloadanaconda-25fa74e5b02978ba2e1b4aaebcf493c4733718e0.tar.gz
anaconda-25fa74e5b02978ba2e1b4aaebcf493c4733718e0.tar.xz
anaconda-25fa74e5b02978ba2e1b4aaebcf493c4733718e0.zip
Call the superclass's __init__ method before we needs the variables it sets up.
This fixes NFS ISO installs.
Diffstat (limited to 'image.py')
-rw-r--r--image.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/image.py b/image.py
index 17e5729e9..595a555cf 100644
--- a/image.py
+++ b/image.py
@@ -530,6 +530,7 @@ class NfsIsoInstallMethod(NfsInstallMethod):
def __init__(self, method, rootPath, intf):
"""@param method: nfsiso:/mnt/source"""
tree = method[8:]
+ ImageInstallMethod.__init__(self, "/%s" % tree, rootPath, intf)
self.messageWindow = intf.messageWindow
# the tree points to the directory that holds the iso images
@@ -540,6 +541,3 @@ class NfsIsoInstallMethod(NfsInstallMethod):
self.discImages = findIsoImages(tree, self.messageWindow)
self.mountImage(1)
- ImageInstallMethod.__init__(self, self.mntPoint, rootPath, intf)
-
-