#44762: generate_packets.py: use booleans instead of 0 and 1 Open Date: 2022-06-06 19:31 Last Update: 2022-06-06 19:31 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44762 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44762 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-06 19:31 Updated by: alienvalkyrie * New Ticket "generate_packets.py: use booleans instead of 0 and 1" 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 #43927. Some variables are only ever used in truthiness checks, and only assigned 0 or 1. Make them booleans instead. -- 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/44762 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44762