[Freeciv-tickets] [freeciv] #44977: generate_packets.py: indent generated code only once needed

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Tue Jul 5 18:41:54 JST 2022


#44977: generate_packets.py: indent generated code only once needed

  Open Date: 2022-07-01 23:03
Last Update: 2022-07-05 11:41

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44977
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44977

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-07-05 11:41 Updated by: alienvalkyrie
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: alienvalkyrie
         Owner: alienvalkyrie
          Type: Patches
        Status: Closed
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: Bootstrap
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket details:

Part of #43927. To make code-generating functions more reusable, each function should produce code that is as un-indented as possible, with callers using prefix() to indent as necessary; this way, the generated code can easily be used in different contexts where it needs different indentation.

-- 
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/44977
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44977



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index