projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c953a2
)
Add missing self parameter
author
Johan Dahlin
<jdahlin@litl.com>
Wed, 11 Feb 2009 18:59:17 +0000
(16:59 -0200)
committer
Johan Dahlin
<jdahlin@litl.com>
Wed, 11 Feb 2009 18:59:17 +0000
(16:59 -0200)
This is really why you shouldn't catch TypeError.
giscanner/cachestore.py
patch
|
blob
|
history
diff --git
a/giscanner/cachestore.py
b/giscanner/cachestore.py
index
8c90195
..
9ecde26
100644
(file)
--- a/
giscanner/cachestore.py
+++ b/
giscanner/cachestore.py
@@
-69,7
+69,7
@@
class CacheStore(object):
return (os.stat(store_filename).st_mtime >=
os.stat(filename).st_mtime)
- def _remove_filename(filename):
+ def _remove_filename(
self,
filename):
try:
os.unlink(filename)
except IOError, e: