X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=python-cliff-prettytable.patch;fp=python-cliff-prettytable.patch;h=e49f6cc8c3e8a740939cdc3dd98be8f7bd6a2399;hb=e74d25cfe2fccc8d86a88141d11d8d2d7b95b581;hp=0000000000000000000000000000000000000000;hpb=4b9fa5328e86ed600eec7f91650313c52a676d01;p=packages%2Fpython-cliff.git diff --git a/python-cliff-prettytable.patch b/python-cliff-prettytable.patch new file mode 100644 index 0000000..e49f6cc --- /dev/null +++ b/python-cliff-prettytable.patch @@ -0,0 +1,23 @@ +--- cliff-2.18.0/requirements.txt.orig 2020-01-08 21:36:15.000000000 +0100 ++++ cliff-2.18.0/requirements.txt 2024-01-16 19:44:20.708397557 +0100 +@@ -3,7 +3,7 @@ + # process, which may cause wedges in the gate later. + pbr!=2.1.0,>=2.0.0 # Apache-2.0 + cmd2>=0.8.0,!=0.8.3,<0.9.0 # MIT +-PrettyTable<0.8,>=0.7.2 # BSD ++PrettyTable>=0.7.2 # BSD + pyparsing>=2.1.0 # MIT + six>=1.10.0 # MIT + stevedore>=1.20.0 # Apache-2.0 +--- cliff-2.18.0/cliff/formatters/table.py.orig 2020-01-08 21:36:15.000000000 +0100 ++++ cliff-2.18.0/cliff/formatters/table.py 2024-01-16 19:45:25.351380690 +0100 +@@ -176,9 +176,6 @@ class TableFormatter(base.ListFormatter, + + @staticmethod + def _assign_max_widths(stdout, x, max_width, min_width=0, fit_width=False): +- if min_width: +- x.min_width = min_width +- + if max_width > 0: + term_width = max_width + elif not fit_width: