http_cache_directory setting bug [patch]
Mikael Nilsson
mikael at nilsson.name
Wed Sep 23 00:11:54 EST 2009
Seems to me the http_cache_directory setting is not honored in the
config due to a simple bug in config.py - a missing return.
--- venus/planet/config.py.orig 2009-09-21 18:18:07.000000000 +0200
+++ venus/planet/config.py 2009-09-22 16:07:48.000000000 +0200
@@ -303,7 +303,7 @@
def http_cache_directory():
if parser.has_option('Planet', 'http_cache_directory'):
- os.path.join(cache_directory(),
+ return os.path.join(cache_directory(),
parser.get('Planet', 'http_cache_directory'))
else:
return os.path.join(cache_directory(), "cache")
Or am I mistaken?
/Mikael
More information about the devel
mailing list