apps: remove deug logging statements

This commit is contained in:
Benjamin Dauvergne 2017-11-24 19:16:57 +01:00
parent 8ec40fd8cf
commit cb13e0ca50
1 changed files with 0 additions and 3 deletions

View File

@ -16,7 +16,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import logging
import django.apps
from django.conf import settings
@ -396,7 +395,6 @@ class AppConfig(django.apps.AppConfig):
excluded = AttributeValue.objects.filter(
attribute__name='birthdate',
content__gt=before)
logging.debug('hide_underaged_oidc_client %s', str(excluded.query))
queryset = queryset.exclude(attribute_values=excluded)
queryset = queryset.filter(ou__slug='usagers')
return queryset
@ -457,7 +455,6 @@ class AppConfig(django.apps.AppConfig):
else:
user_info['address_fc_formatted'] = address
user_info['phone_number_fc'] = fc_user_info.get('phone_number')
logging.info(u'modified user_info %s', user_info)
def a2_hook_event(self, name, **kwargs):
method_name = 'cut_event_' + name.replace('-', '_')