[Freeciv-tickets] [freeciv] #43939: generate_packets.py: Allow importing and calling main() with custom parameters

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Sun Feb 20 11:58:17 JST 2022


#43939: generate_packets.py: Allow importing and calling main() with custom parameters

  Open Date: 2022-02-20 03:42
Last Update: 2022-02-20 03:58

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

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

Last Changes/Comment on this Ticket:
2022-02-20 03:58 Updated by: alienvalkyrie
 * Resolution Update from None to Accepted


---------------------------------------------------------------------
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: Accepted
---------------------------------------------------------------------

Ticket details:

Follow-up to #43931. Part of #43927.
Currently, it is not possible to get access to the methods inside the script via import, without also executing the script. Being able to do so, and to then execute the main script at a later point with arbitrary parameters, could be useful.

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



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