Ticket #43939

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

Eröffnet am: 2022-02-20 11:42 Letztes Update: 2022-02-22 21:10

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

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-Verlauf (3/4 Historien)

2022-02-20 11:42 Aktualisiert von: alienvalkyrie
  • New Ticket "generate_packets.py: Allow importing and calling main() with custom parameters" created
2022-02-20 11:58 Aktualisiert von: alienvalkyrie
  • Lösung Update from Keine to Accepted
2022-02-22 21:10 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden