gobject-introspection r979 - in trunk: . giscanner
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r979 - in trunk: . giscanner
- Date: Sun, 30 Nov 2008 13:05:52 +0000 (UTC)
Author: johan
Date: Sun Nov 30 13:05:52 2008
New Revision: 979
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=979&view=rev
Log:
2008-11-30 Johan Dahlin <jdahlin async com br>
Bug 562289 â Race when removing invalid cache
* giscanner/cachestore.py:
ENOENT is mapped to a OSError, not IOError.
Modified:
trunk/ChangeLog
trunk/giscanner/cachestore.py
Modified: trunk/giscanner/cachestore.py
==============================================================================
--- trunk/giscanner/cachestore.py (original)
+++ trunk/giscanner/cachestore.py Sun Nov 30 13:05:52 2008
@@ -68,8 +68,11 @@
# Permission denied
if e.errno == errno.EACCES:
return
+ else:
+ raise
+ except OSError, e:
# File does not exist
- elif e.errno == errno.ENOENT:
+ if e.errno == errno.ENOENT:
return
else:
raise
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]