forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.6.50"
|
||||
SCOVERSION = "9.6.51"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
@ -55,6 +55,7 @@ def usage():
|
||||
|
||||
anonymize_name = "random_text_md5(8)"
|
||||
anonymize_date = "'1970-01-01'"
|
||||
anonymize_false = "FALSE"
|
||||
anonymize_question_str = "'?'"
|
||||
anonymize_null = "NULL"
|
||||
|
||||
@ -69,13 +70,14 @@ ANONYMIZED_FIELDS = {
|
||||
"identite.nom": anonymize_name,
|
||||
"identite.prenom": anonymize_name,
|
||||
"identite.nom_usuel": anonymize_null,
|
||||
"identite.civilite": "'X'",
|
||||
"identite.civilite_etat_civil" : anonymize_null,
|
||||
"identite.prenom_etat_civil" : anonymize_null,
|
||||
"identite.date_naissance": anonymize_date,
|
||||
"identite.lieu_naissance": anonymize_question_str,
|
||||
"identite.dept_naissance": anonymize_question_str,
|
||||
"identite.nationalite": anonymize_question_str,
|
||||
"identite.statut": anonymize_null,
|
||||
"identite.boursier": anonymize_null,
|
||||
"identite.boursier": anonymize_false,
|
||||
"identite.photo_filename": anonymize_null,
|
||||
"identite.code_nip": anonymize_null,
|
||||
"identite.code_ine": anonymize_null,
|
||||
|
Loading…
Reference in New Issue
Block a user