]> git.pld-linux.org Git - packages/python-cliff.git/blobdiff - python-cliff-prettytable.patch
- updated to 2.18.0 with some backported fixes
[packages/python-cliff.git] / python-cliff-prettytable.patch
diff --git a/python-cliff-prettytable.patch b/python-cliff-prettytable.patch
new file mode 100644 (file)
index 0000000..e49f6cc
--- /dev/null
@@ -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:
This page took 0.063444 seconds and 4 git commands to generate.