source:
pkg/raul/main/gobject-introspection/trunk/debian/patches/02_giscanner_cache.patch
@
7002
| Revision 7002, 841 bytes checked in by alanbach-guest, 2 years ago (diff) |
|---|
-
giscanner/cachestore.py
From 9a24233bed0e64b34f47f78e094df918fc85dcaf Mon Sep 17 00:00:00 2001 From: Robert Ancell <robert.ancell@canonical.com> Date: Thu, 12 Aug 2010 10:01:37 +1000 Subject: [PATCH] Fix giscanner crash with no cache directory Bug: https://bugzilla.gnome.org/show_bug.cgi?id=626694 --- giscanner/cachestore.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/giscanner/cachestore.py b/giscanner/cachestore.py index d839ef5..d72eee4 100644
a b class CacheStore(object): 76 76 self._check_cache_version() 77 77 78 78 def _check_cache_version(self): 79 if self._directory is None: 80 return 81 79 82 current_hash = _get_versionhash() 80 83 version = os.path.join(self._directory, _CACHE_VERSION_FILENAME) 81 84 try:
Note: See TracBrowser
for help on using the repository browser.


