Skip to content
Snippets Groups Projects
Commit ac1898e8 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

Refactoring: vaccination

parent b4f23093
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
......@@ -189,7 +189,6 @@ class RkiServiceUpdateFull(RkiServiceUpdateBase):
i = 0
d = 0
k = 0
# dict_locations = RkiLandkreis.find_all_as_dict()
dict_altersgruppen = RkiAltersgruppe.find_all_as_dict()
dict_ref_datum = RkiRefDatum.find_all_as_dict()
dict_datenstand = RkiDatenstand.find_all_as_dict()
......@@ -212,12 +211,10 @@ class RkiServiceUpdateFull(RkiServiceUpdateBase):
# app.logger.info("------------------------------------------------------------")
for o_import in list_imports:
# app.logger.info("o_import.landkreis " + o_import.landkreis)
# key_location = o_import.landkreis
key_altersgruppen = o_import.altersgruppe
key_datenstand = o_import.datenstand
key_ref_datum = o_import.ref_datum
my_altersgruppe = dict_altersgruppen[key_altersgruppen]
# my_landkreis = dict_locations[key_location]
my_datenstand = dict_datenstand[key_datenstand]
my_ref_datum = dict_ref_datum[key_ref_datum]
# app.logger.info(str(my_landkreis))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment