subst = forge_mod.superseded_by['slug']
exposed_modules[m_name].forge_superseded_by = subst
- if self.verbose > 1:
+ if self.verbose > 2:
LOG.debug(_("Modules to show:") + '\n' + pp(exposed_modules.as_list()))
-# try:
-# module_infos = self.read_cache_file()
-# except UncriticalHookError as e:
-# LOG.error(str(e))
-# else:
-# self.output_modules(module_infos)
+ self.output_modules(exposed_modules)
# -------------------------------------------------------------------------
def read_forge_cache(self):
output_data['forge_homepage_url'] = '~'
if not output_data['repo']:
output_data['repo'] = '~'
+ if not output_data['date_checked']:
+ output_data['date_checked'] = '~'
output_data['line_class'] = line_class
tpl = ' <tr>\n'
tpl += ' <th class="l h confluenceTh">{name}</th>\n'
output_data['forge_homepage_url'] = '~'
if not output_data['repo']:
output_data['repo'] = '~'
+ if not output_data['date_checked']:
+ output_data['date_checked'] = '~'
+ if self.verbose > 3:
+ LOG.debug("Output data:\n" + pp(output_data))
self.print_out(tpl.format(**output_data))
self.print_out()
'full_name': module_info.full_name,
'forge_version': module_info.forge_version,
'forge_avail': module_info.forge_avail,
+ 'forge_deprecated_at': module_info.forge_deprecated_at,
+ 'forge_deprecated_for': module_info.forge_deprecated_for,
'forge_homepage_url': module_info.forge_homepage_url,
+ 'forge_superseded_by': module_info.forge_superseded_by,
'repo': module_info.repo,
'ts_checked': module_info.ts_checked,
'date_checked': date_checked,