diff options
author | Mike Fulbright <msf@redhat.com> | 2000-07-20 18:50:37 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-07-20 18:50:37 +0000 |
commit | b93b16262c0d6bf2758e2ce6cca660ea69a1d479 (patch) | |
tree | 3f49f244e3f84f2c29992baeff8ab1aef15f89c5 | |
parent | 7b3a80e62ab9f38e9ceb5b7b8a910fd002378d43 (diff) | |
download | anaconda-b93b16262c0d6bf2758e2ce6cca660ea69a1d479.tar.gz anaconda-b93b16262c0d6bf2758e2ce6cca660ea69a1d479.tar.xz anaconda-b93b16262c0d6bf2758e2ce6cca660ea69a1d479.zip |
handle case when we dont need to cleanup
-rw-r--r-- | image.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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): |