Suppression de logs inutiles
This commit is contained in:
parent
3c39b16acd
commit
049aa89a3d
@ -96,9 +96,7 @@ def import_events_from_json(self, json):
|
||||
|
||||
# finally, close task
|
||||
close_import_task(self.request.id, success, error_message, importer)
|
||||
"""except Exception as e:
|
||||
logger.error(e)
|
||||
close_import_task(self.request.id, False, e, importer)"""
|
||||
|
||||
|
||||
|
||||
class ChromiumTask(Task):
|
||||
|
@ -390,7 +390,6 @@ class CategorisationForm(Form):
|
||||
else:
|
||||
events = []
|
||||
for f in args[0]:
|
||||
logger.warning("fff: " + f)
|
||||
if "_" not in f:
|
||||
if f + "_cat" in args[0]:
|
||||
events.append(
|
||||
|
@ -38,8 +38,6 @@ class GGCalendar:
|
||||
|
||||
params = GGCalendar.filter_keys(params)
|
||||
|
||||
logger.warning(self.url)
|
||||
logger.warning(params)
|
||||
self.location = params["location"][0] if "location" in params else None
|
||||
self.title = params["text"][0] if "text" in params else params["title"][0] if "title" in params else None
|
||||
self.description = params["description"][0] if "description" in params else None
|
||||
|
@ -203,7 +203,6 @@ class DuplicatedEvents(models.Model):
|
||||
duplicates = DuplicatedEvents.objects.all()
|
||||
for d in duplicates:
|
||||
comp = d.get_items_comparison()
|
||||
logger.warning(comp)
|
||||
similar = len([c for c in comp if not c["similar"]]) == 0
|
||||
if similar:
|
||||
to_be_removed.append(d)
|
||||
|
@ -660,7 +660,6 @@ def import_from_urls(request):
|
||||
|
||||
# finally process them or go back to home page
|
||||
if len(ucat) > 0:
|
||||
logger.warning(ucat)
|
||||
messages.info(
|
||||
request,
|
||||
_('Integrating {} url(s) into our import process.').format(len(ucat))
|
||||
|
Loading…
x
Reference in New Issue
Block a user