fix some smaller stuff

- remove support for old windows config paths
- catch exception if cache-database can't be opened
- fix username/password settings for unit tests
- rename variable 'max_tries' to 'retries'
This commit is contained in:
Mike Fährmann
2017-03-27 13:22:02 +02:00
parent e4b3077168
commit e3212dd98f
4 changed files with 6 additions and 8 deletions

View File

@@ -213,6 +213,6 @@ memcache = build_cache_decorator(MEMCACHE)
try:
DBCACHE = DatabaseCache()
cache = build_cache_decorator(MEMCACHE, DBCACHE)
except RuntimeError():
except (RuntimeError, sqlite3.OperationalError):
DBCACHE = None
cache = memcache