summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-07-20 18:50:37 +0000
committerMike Fulbright <msf@redhat.com>2000-07-20 18:50:37 +0000
commitb93b16262c0d6bf2758e2ce6cca660ea69a1d479 (patch)
tree3f49f244e3f84f2c29992baeff8ab1aef15f89c5
parent7b3a80e62ab9f38e9ceb5b7b8a910fd002378d43 (diff)
downloadanaconda-b93b16262c0d6bf2758e2ce6cca660ea69a1d479.tar.gz
anaconda-b93b16262c0d6bf2758e2ce6cca660ea69a1d479.tar.xz
anaconda-b93b16262c0d6bf2758e2ce6cca660ea69a1d479.zip
handle case when we dont need to cleanup
-rw-r--r--image.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/image.py b/image.py
index a538ccde7..50c7101d5 100644
--- a/image.py
+++ b/image.py
@@ -76,6 +76,8 @@ class CdromInstallMethod(ImageInstallMethod):
return self.tree + "/RedHat/RPMS/" + h[1000000]
def filesDone(self):
+ if not self.mntPoint: return
+
try:
# this isn't the exact right place, but it's close enough
target = "%s/rhinstall-stage2.img" % self.mntPoint
@@ -95,6 +97,7 @@ class CdromInstallMethod(ImageInstallMethod):
self.messageWindow = messageWindow
self.progressWindow = progressWindow
self.currentDisc = 1
+ self.mntPoint = None
ImageInstallMethod.__init__(self, "/" + tree)
class NfsInstallMethod(ImageInstallMethod):