extras-buildsys/server Repo.py,1.16.2.5,1.16.2.6

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


Author: dcbw

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

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


Index: Repo.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/Repo.py,v
retrieving revision 1.16.2.5
retrieving revision 1.16.2.6
diff -u -r1.16.2.5 -r1.16.2.6
--- Repo.py	2 Jun 2006 14:59:17 -0000	1.16.2.5
+++ Repo.py	3 Jun 2006 04:05:51 -0000	1.16.2.6
@@ -100,7 +100,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