Skip to content
Snippets Groups Projects
Commit e507c970 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix(sonarQube): correction syntax variable en snake case

parent 8e66b5d9
No related branches found
No related tags found
1 merge request!538REDMINE_ISSUE-24432 | Corriger les erreurs SonarQube & réactiver dans CI
Pipeline #43545 failed
......@@ -211,8 +211,8 @@ class Command(BaseCommand):
def get_custom_fields(self, feature_type_id, deleted_cf_id):
customFields = CustomField.objects.filter(feature_type__pk=feature_type_id).values()
return customFields.exclude(id=deleted_cf_id)
custom_fields = CustomField.objects.filter(feature_type__pk=feature_type_id).values()
return custom_fields.exclude(id=deleted_cf_id)
def validate_custom_fields(self, reference_fields, sorted_cfs, feature_type_id):
# Compare the custom fields of the current FeatureType with the reference ones
......
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