Sfoglia il codice sorgente

HUE-8639 [metadata] Include the docstring into the configuration

Romain Rigaux 7 anni fa
parent
commit
62424efb3e
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      desktop/libs/metadata/src/metadata/conf.py

+ 2 - 1
desktop/libs/metadata/src/metadata/conf.py

@@ -70,8 +70,9 @@ def has_navigator(user):
 
 
 def get_security_default():
+  '''Get if Sentry is available so that we filter the objects or not'''
   from libsentry.conf import is_enabled
-  
+
   return is_enabled()