pylint: use longer variable name
This commit is contained in:
parent
c4180f94ea
commit
47d9a147e6
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue