diff -rup virtinst-0.200.0.orig/virtinst/DistroManager.py virtinst-0.200.0.new/virtinst/DistroManager.py
--- virtinst-0.200.0.orig/virtinst/DistroManager.py 2007-07-18 22:04:21.000000000 -0400
+++ virtinst-0.200.0.new/virtinst/DistroManager.py 2007-11-20 07:25:43.000000000 -0500
@@ -161,7 +161,7 @@ class MountedImageFetcher(ImageFetcher):
if tmpfile is not None:
os.unlink(tmpfile)
return True
- except RuntimeError, e:
+ except Exception, e:
logging.debug("Cannot find file %s" % filename)
return False
@@ -210,6 +210,9 @@ class RedHatImageStore(ImageStore):
# Fedora distro check
class FedoraImageStore(RedHatImageStore):
def isValidStore(self, fetcher, progresscb):
+ if fetcher.hasFile("fedora.css", progresscb):
+ logging.debug("Detected a Fedora distro")
+ return True
if fetcher.hasFile("Fedora", progresscb):
logging.debug("Detected a Fedora distro")
return True