Call cache.cancel() only if we have a cache.
Thu Nov 17 03:27:57 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Call cache.cancel() only if we have a cache.
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2016-01-01 16:47:38.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2016-01-01 16:47:38.000000000 +0000
@@ -2124,7 +2124,8 @@
else:
action = "invalid query"
do_die()
- cache.cancel()
+ if config.cachedir:
+ cache.cancel()
if config.cachedir: