diff --git a/osbs/build/plugins_configuration.py b/osbs/build/plugins_configuration.py index e732de71..8060f50d 100644 --- a/osbs/build/plugins_configuration.py +++ b/osbs/build/plugins_configuration.py @@ -157,7 +157,8 @@ def __init__(self, user_params): customize_conf_path, ) - @abc.abstractproperty + @property + @abc.abstractmethod def pt_path(self): """Property returns path to plugins template JSON file diff --git a/osbs/cli/render.py b/osbs/cli/render.py index cbf2fb7d..c23b5068 100644 --- a/osbs/cli/render.py +++ b/osbs/cli/render.py @@ -153,8 +153,8 @@ def _count_sizes(self): self.header_format_str = "+".join(header_sepa_format_list) self.header_data = {} - for k in self.col_widths: - self.header_data[k] = "-" * self.col_widths[k] + for col, wid in self.col_widths.items(): + self.header_data[col] = "-" * wid def get_all_longest_col_lengths(self): """