1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-20 06:50:23 +03:00

Remove unnecessary comment on DBConfig enumeration in Config class

This commit is contained in:
Adolfo Gómez García 2025-02-05 13:38:32 +01:00
parent 354040c051
commit b9594013a0
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -287,7 +287,7 @@ class Config:
@staticmethod
def enumerate() -> collections.abc.Iterable['Config.Value']:
GlobalConfig.initialize() # Ensures DB contains all values
for cfg in DBConfig.objects.all().order_by('key'): # @UndefinedVariable
for cfg in DBConfig.objects.all().order_by('key'):
# Skip sections with name starting with "__" (not to be editted on configuration)
if cfg.section.startswith('__'): # Hidden section:
continue