GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit ed24b53d authored by juga  's avatar juga
Browse files

fix: v3bwfile: !refactor, Replace constant

Replace HEADER_INIT_KEYS constant KeyValues with other constants
created in the previous commit.

Part of #30196.
parent 27e2112a
......@@ -120,11 +120,14 @@ HEADER_KEYS_V1_4 = [
# The time it took to report about half of the network.
'time_to_report_half_network',
] + HEADER_RECENT_MEASUREMENTS_EXCLUDED_KEYS
HEADER_INIT_KEYS = \
['earliest_bandwidth', 'generator_started',
'scanner_country', 'destinations_countries']\
+ HEADER_KEYS_V1_2 \
# KeyValues that are initialized from arguments, not self-initialized.
HEADER_INIT_KEYS = (
HEADER_KEYS_V1_1_TO_INIT
+ HEADER_KEYS_V1_3
+ HEADER_KEYS_V1_2
+ HEADER_KEYS_V1_4
)
HEADER_INT_KEYS = HEADER_KEYS_V1_2 + HEADER_KEYS_V1_4
# List of all unordered KeyValues currently being used to generate the file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment