rpms/python-virtinst/devel virtinst-0.300.1-nfs-check.patch, NONE, 1.1 python-virtinst.spec, 1.28, 1.29

Daniel P. Berrange (berrange) fedora-extras-commits at redhat.com
Thu Oct 11 17:11:48 UTC 2007


Author: berrange

Update of /cvs/pkgs/rpms/python-virtinst/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30027

Modified Files:
	python-virtinst.spec 
Added Files:
	virtinst-0.300.1-nfs-check.patch 
Log Message:
Fixed missing file exception check for NFS install (rhbz #325591)

virtinst-0.300.1-nfs-check.patch:

--- NEW FILE virtinst-0.300.1-nfs-check.patch ---
diff -r 531b73491ac2 virtinst/DistroManager.py
--- a/virtinst/DistroManager.py	Wed Oct 10 14:24:48 2007 -0400
+++ b/virtinst/DistroManager.py	Thu Oct 11 11:39:58 2007 -0400
@@ -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
 


Index: python-virtinst.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-virtinst/devel/python-virtinst.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- python-virtinst.spec	4 Oct 2007 16:45:24 -0000	1.28
+++ python-virtinst.spec	11 Oct 2007 17:11:15 -0000	1.29
@@ -11,9 +11,10 @@
 Summary: Python modules for starting Xen guest installations
 Name: python-%{appname}
 Version: 0.300.1
-Release: 2%{_extra_release}
+Release: 3%{_extra_release}
 Source0: http://virt-manager.org/download/sources/%{appname}/%{appname}-%{version}.tar.gz
 Patch1: %{appname}-%{version}-remove-usb-tablet.patch
+Patch2: %{appname}-%{version}-nfs-check.patch
 License: GPL
 Group: Development/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -37,6 +38,7 @@
 %prep
 %setup -q -n %{appname}-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 python setup.py build
@@ -66,6 +68,9 @@
 %{_bindir}/virt-image
 
 %changelog
+* Thu Oct 11 2007 Daniel P. Berrange <berrange at redhat.com> - 0.300.1-3.fc8
+- Fix missing file exception check with NFS installs (rhbz #325591)
+
 * Thu Oct  4 2007 Daniel P. Berrange <berrange at redhat.com> - 0.300.1-2.fc8
 - Remove USB tablet for all except Windows (rhbz #302951)
 




More information about the scm-commits mailing list