qontract-reconcile 0.10.1rc1074__py3-none-any.whl → 0.10.1rc1075__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc1074
3
+ Version: 0.10.1rc1075
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Home-page: https://github.com/app-sre/qontract-reconcile
6
6
  Author: Red Hat App-SRE Team
@@ -706,7 +706,7 @@ reconcile/utils/oc_map.py,sha256=U8cYhiaZsomkofzbIjVrl7E7crRxkS2JKsFpVeeHVE8,896
706
706
  reconcile/utils/ocm_base_client.py,sha256=t5xwO-atG3e64tiMFLF5Szzcq1KLYf4g7g294YmaeMo,6332
707
707
  reconcile/utils/openshift_resource.py,sha256=ZyQ436YdV80nvKGPuzYyYLLJj8Abjnb3e_PsejxBTNM,24715
708
708
  reconcile/utils/openssl.py,sha256=QVvhzhpChq_4Daf_5wE1qeZJr4thg3DDjJPn4bOPD4E,365
709
- reconcile/utils/output.py,sha256=i_2mQjUXD4Pwra21dFuzZnGBUVL6fuohEkHcHe7LYQ4,1982
709
+ reconcile/utils/output.py,sha256=xh2Not-Xm97KeRx_J5nc2PP5tDwpDLZBeCrWI0S-al4,2034
710
710
  reconcile/utils/pagerduty_api.py,sha256=_24i9S_4X7nlvHb-7clXRE0p1BG4ODjOzKxWO-F9WgI,7627
711
711
  reconcile/utils/parse_dhms_duration.py,sha256=TONpLnec5gHeF7k815YNJpQyDjXhkxZIcv9s8ffbTSY,1840
712
712
  reconcile/utils/password_validator.py,sha256=XwuWg-8CPlcuG7dl_oQ1G1h2gSVSnfMym_VkuprpWVg,2183
@@ -870,8 +870,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
870
870
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
871
871
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
872
872
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
873
- qontract_reconcile-0.10.1rc1074.dist-info/METADATA,sha256=vN-K0m5DzTjIUX-5B1dDukxAGsijJY1J4NLoPH_TW4M,2213
874
- qontract_reconcile-0.10.1rc1074.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
875
- qontract_reconcile-0.10.1rc1074.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
876
- qontract_reconcile-0.10.1rc1074.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
877
- qontract_reconcile-0.10.1rc1074.dist-info/RECORD,,
873
+ qontract_reconcile-0.10.1rc1075.dist-info/METADATA,sha256=rnY8-G-PjJIderhojfY3UzXfalPMSKmr6pqAZz4glL8,2213
874
+ qontract_reconcile-0.10.1rc1075.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
875
+ qontract_reconcile-0.10.1rc1075.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
876
+ qontract_reconcile-0.10.1rc1075.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
877
+ qontract_reconcile-0.10.1rc1075.dist-info/RECORD,,
reconcile/utils/output.py CHANGED
@@ -1,4 +1,5 @@
1
1
  import json
2
+ import re
2
3
  from collections.abc import (
3
4
  Iterable,
4
5
  Mapping,
@@ -27,7 +28,9 @@ def print_output(
27
28
  formatted_content = format_table(content, columns)
28
29
  print(formatted_content)
29
30
  elif output == "md":
30
- formatted_content = format_table(content, columns, table_format="github")
31
+ formatted_content = re.sub(
32
+ r" +", " ", format_table(content, columns, table_format="github")
33
+ )
31
34
  print(formatted_content)
32
35
  elif output == "json":
33
36
  formatted_content = json.dumps(content)