From 3e59f98a0199122725fc904c98f0f8d6724e94d2 Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Tue, 4 Aug 2015 13:10:48 +1000 Subject: [PATCH] Fix comment on way indexes are loaded Change-Id: If7b5abe616b6132d9eea7c6918af383ef62589b3 --- os_loganalyze/generator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/os_loganalyze/generator.py b/os_loganalyze/generator.py index 5a9a000..67467b1 100644 --- a/os_loganalyze/generator.py +++ b/os_loganalyze/generator.py @@ -217,8 +217,7 @@ def get_file_generator(environ, root_path, config=None): else: # NOTE(jhesketh): If the requested URL ends in a trailing slash we # assume that this is meaning to load an index.html from our pseudo - # filesystem. This means we should't store objects with a trailing - # slash in their name as os-loganalzye won't load them. + # filesystem and attempt that first. if logname[-1] == '/': file_generator = SwiftIterableBuffer( os.path.join(logname, 'index.html'), config)