[REF] upgrade_analysis: increase module description column in generated RST file

to allow for very long module name
pull/2826/head
Stefan Rijnhart 2024-02-03 10:40:03 +01:00
parent 9289acc48d
commit 942492355c
2 changed files with 5 additions and 6 deletions

View File

@ -270,7 +270,6 @@ class UpgradeAnalysis(models.Model):
except Exception as e:
_logger.exception("Error generating noupdate changes: %s" % e)
general_log += "ERROR: error when generating noupdate changes: %s\n" % e
try:
self.generate_module_coverage_file(no_changes_modules)
except Exception as e:
@ -575,7 +574,7 @@ class UpgradeAnalysis(models.Model):
)
elif module in no_changes_modules:
status += "No DB layout changes. "
module_descriptions[module_description.ljust(49, " ")] = status.ljust(
module_descriptions[module_description.ljust(51, " ")] = status.ljust(
49, " "
)

View File

@ -3,10 +3,10 @@ Module coverage ${start_version} -> ${end_version}
.. include:: coverage_legend.rst
+-------------------------------------------------+----------------------+-------------------------------------------------+
+---------------------------------------------------+----------------------+-------------------------------------------------+
| Module | Status + Extra Information |
+=================================================+======================+=================================================+
+===================================================+======================+=================================================+
% for module, extra_information in module_descriptions.items():
|${module}| |${extra_information}|
+-------------------------------------------------+----------------------+-------------------------------------------------+
+---------------------------------------------------+----------------------+-------------------------------------------------+
% endfor