Add missing self parameter
authorJohan Dahlin <jdahlin@litl.com>
Wed, 11 Feb 2009 18:59:17 +0000 (16:59 -0200)
committerJohan 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

index 8c90195..9ecde26 100644 (file)
@@ -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: