Debian #549126

--- giscanner/cachestore.py.orig	2009-10-01 09:42:51.295078017 +0200
+++ giscanner/cachestore.py	2009-10-01 09:44:09.391500464 +0200
@@ -35,7 +35,10 @@
 
     cachedir = os.path.join(homedir, '.cache')
     if not os.path.exists(cachedir):
-        os.mkdir(cachedir, 0755)
+        try:
+            os.mkdir(cachedir, 0755)
+        except OSError:
+            return None
 
     scannerdir = os.path.join(cachedir, 'g-ir-scanner')
     if not os.path.exists(scannerdir):
