extras-buildsys/server Repo.py,1.26,1.27

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Sat Jun 3 04:05:22 UTC 2006


Author: dcbw

Update of /cvs/fedora/extras-buildsys/server
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5758/server

Modified Files:
	Repo.py 
Log Message:
Fix exception type


Index: Repo.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/Repo.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- Repo.py	2 Jun 2006 14:55:13 -0000	1.26
+++ Repo.py	3 Jun 2006 04:05:19 -0000	1.27
@@ -207,7 +207,7 @@
         # Try to open the lockfile, creating it if it doesn't exist
         try:
             lockfile = open(self._lockfile_path, 'w')
-        except OSError, (errno, strerr):
+        except IOError, (errno, strerr):
             print "Repo Error (%s): opening lockfile %s failed.  Output: (errno %d) '%s'" % (target_string,
                     self._lockfile_path, errno, strerr)
 




More information about the fedora-extras-commits mailing list