comparison mod_storage_xmlarchive/mod_storage_xmlarchive.lua @ 1728:a51beeb5aecf

mod_storage_xmlarchive: Adjust wording in log message
author Kim Alvefur <zash@zash.se>
date Mon, 11 May 2015 14:29:00 +0200
parents 8f12afb633ec
children 3431c4a4d162
comparison
equal deleted inserted replaced
1727:8f12afb633ec 1728:a51beeb5aecf
108 if limit and count >= limit then xmlfile:close() return; end 108 if limit and count >= limit then xmlfile:close() return; end
109 local filename; 109 local filename;
110 110
111 for d = start_day, last_day, step do 111 for d = start_day, last_day, step do
112 if d ~= start_day or not items then 112 if d ~= start_day or not items then
113 module:log("debug", "Load items for %s", dates[d]); 113 module:log("debug", "Loading items from %s", dates[d]);
114 start_day = d; 114 start_day = d;
115 items = dm.list_load(username .. "@" .. dates[d], module.host, self.store) or empty; 115 items = dm.list_load(username .. "@" .. dates[d], module.host, self.store) or empty;
116 if not rev then 116 if not rev then
117 first_item, last_item = 1, #items; 117 first_item, last_item = 1, #items;
118 else 118 else