pylint: use longer variable name

This commit is contained in:
Frédéric Péters 2017-03-29 15:30:45 +02:00
parent c4180f94ea
commit 47d9a147e6
1 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,9 @@ from chrono.agendas.models import Agenda
def export_site():
'''Dump site objects to JSON-dumpable dictionnary'''
d = {}
d['agendas'] = [x.export_json() for x in Agenda.objects.all()]
return d
data = {}
data['agendas'] = [x.export_json() for x in Agenda.objects.all()]
return data
def import_site(data, if_empty=False, clean=False, overwrite=False):