#44604: generate_packets.py: move formatting in Variant.get_send() to each individual part Open Date: 2022-05-15 00:35 Last Update: 2022-05-15 00:35 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44604 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44604 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-05-15 00:35 Updated by: alienvalkyrie * New Ticket "generate_packets.py: move formatting in Variant.get_send() to each individual part" created --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: Bootstrap Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Part of #44577. get_send() equivalent of #44598. Rather than assembling a format string and then filling in the data, format each individual part. Where not needed, drop the formatting step entirely. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44604 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44604