diff --git a/Makefile.am b/Makefile.am index 407fb85..070a7e1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + SUBDIRS = lodel progs lodelsites EXTRA_DIST = runtest examples tests debian CLEANFILES = runtest diff --git a/configure.ac b/configure.ac index 9620943..b1c1f82 100644 --- a/configure.ac +++ b/configure.ac @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/editorial_models/em_simple.py b/editorial_models/em_simple.py index 2f05fa9..e83d601 100644 --- a/editorial_models/em_simple.py +++ b/editorial_models/em_simple.py @@ -1,5 +1,24 @@ #!/usr/bin/python3 -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import sys import os, os.path diff --git a/em_test.py b/em_test.py index 461092d..88bec21 100644 --- a/em_test.py +++ b/em_test.py @@ -1,16 +1,17 @@ #!/usr/bin/python3 -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/lodelsites_em.py b/lodelsites_em.py index 22ccaa6..7309841 100644 --- a/lodelsites_em.py +++ b/lodelsites_em.py @@ -1,16 +1,17 @@ #!/usr/bin/python3 -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/nocontext_tests.py b/nocontext_tests.py index 0e195e0..117d692 100644 --- a/nocontext_tests.py +++ b/nocontext_tests.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/progs/Makefile.am b/progs/Makefile.am index 14a4e29..c2b7ed8 100644 --- a/progs/Makefile.am +++ b/progs/Makefile.am @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + SUBDIRS=slim lodel2_scripts_dir = $(datadir)/lodel2/scripts diff --git a/progs/create_data.sh b/progs/create_data.sh index 5bf6a2c..2d65d67 100755 --- a/progs/create_data.sh +++ b/progs/create_data.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + usage() { echo -e "Usage : $0 host_of_server instance_name host_of_db number_of_iterations >&2" diff --git a/progs/create_data_simpleem.sh b/progs/create_data_simpleem.sh index 1af0726..ab99a2c 100755 --- a/progs/create_data_simpleem.sh +++ b/progs/create_data_simpleem.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + usage() { echo -e "Usage : $0 host_of_server instance_name host_of_db number_of_iterations >&2" diff --git a/progs/create_instance.sh b/progs/create_instance.sh index 92e5265..f722cbe 100755 --- a/progs/create_instance.sh +++ b/progs/create_instance.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + usage() { echo -e "Usage : $0 instance_name (instance_dir|-u) [install_tpl] [em_file] [lidir]" >&2 diff --git a/progs/mass_deploy.sh b/progs/mass_deploy.sh index 1932004..68eb8e8 100755 --- a/progs/mass_deploy.sh +++ b/progs/mass_deploy.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + conffile="[@]LODEL2_CONFDIR[@]/mass_deploy.cfg" diff --git a/progs/slim/Makefile.am b/progs/slim/Makefile.am index 3fcfe26..a76ee60 100644 --- a/progs/slim/Makefile.am +++ b/progs/slim/Makefile.am @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + bin_SCRIPTS = slim CLEANFILES = $(bin_SCRIPTS) slim_instances.json slim_instances_pid.json EXTRA_DIST = slim.py install_model emfile.pickle diff --git a/progs/slim/install_model/Makefile b/progs/slim/install_model/Makefile index 7f8f2b9..f2917c1 100644 --- a/progs/slim/install_model/Makefile +++ b/progs/slim/install_model/Makefile @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + python=python3 all: dyncode diff --git a/progs/slim/install_model/conf.d/lodel2.ini b/progs/slim/install_model/conf.d/lodel2.ini index e3bdc5d..8f67e54 100644 --- a/progs/slim/install_model/conf.d/lodel2.ini +++ b/progs/slim/install_model/conf.d/lodel2.ini @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + [lodel2] debug = False sitename = noname diff --git a/progs/slim/install_model/loader.py b/progs/slim/install_model/loader.py index cc13510..970795b 100644 --- a/progs/slim/install_model/loader.py +++ b/progs/slim/install_model/loader.py @@ -1,4 +1,22 @@ -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + ##@brief Lodel2 loader script # diff --git a/progs/slim/install_model/lodel_admin.py b/progs/slim/install_model/lodel_admin.py index 7aa9166..d9de1ce 100755 --- a/progs/slim/install_model/lodel_admin.py +++ b/progs/slim/install_model/lodel_admin.py @@ -1,5 +1,24 @@ #!/usr/bin/env python3 -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import sys import os, os.path diff --git a/progs/slim/slim.py b/progs/slim/slim.py index b82b39d..41db61a 100755 --- a/progs/slim/slim.py +++ b/progs/slim/slim.py @@ -1,5 +1,22 @@ #!/usr/bin/env python3 -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# import os, os.path diff --git a/runtest_context.sh b/runtest_context.sh index 7524551..3a5d9a3 100755 --- a/runtest_context.sh +++ b/runtest_context.sh @@ -1,16 +1,17 @@ #!/bin/bash -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/scripts/__init__.py b/scripts/__init__.py index e69de29..90c3a8d 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -0,0 +1,20 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + diff --git a/scripts/admin.py b/scripts/admin.py index 390b935..25d15be 100644 --- a/scripts/admin.py +++ b/scripts/admin.py @@ -1,4 +1,22 @@ -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + import sys import os, os.path diff --git a/scripts/cbl.sh b/scripts/cbl.sh index 41f1094..76e0e74 100755 --- a/scripts/cbl.sh +++ b/scripts/cbl.sh @@ -1,5 +1,25 @@ #!/bin/bash # +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + # CBL : Curl Benchmark on Lodel # # Usage : $0 [HOSTNAME] [INSTANCE_LIST_FILE] [N_CREATE] [N_EDIT] [N_DELETE] diff --git a/scripts/redeploy_chrooted_lodel2.sh b/scripts/redeploy_chrooted_lodel2.sh index 940ec23..0cbb5f5 100755 --- a/scripts/redeploy_chrooted_lodel2.sh +++ b/scripts/redeploy_chrooted_lodel2.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + schroot_cmd="schroot --directory /tmp -c lodel2" chrootdir="/localdata/lodel2-chroot" diff --git a/scripts/refreshdyn.py b/scripts/refreshdyn.py index dd0ad6c..6a0b8ae 100644 --- a/scripts/refreshdyn.py +++ b/scripts/refreshdyn.py @@ -1,4 +1,22 @@ -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + import sys import admin diff --git a/scripts/settings_validator.py b/scripts/settings_validator.py index dde5685..695e040 100644 --- a/scripts/settings_validator.py +++ b/scripts/settings_validator.py @@ -1,4 +1,23 @@ -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import sys import os, os.path sys.path.append(os.path.dirname(os.getcwd()+'/..')) diff --git a/tests/__init__.py b/tests/__init__.py index 84aeb79..b98ec3a 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/datahandlers/__init__.py b/tests/datahandlers/__init__.py index 633f866..b98ec3a 100644 --- a/tests/datahandlers/__init__.py +++ b/tests/datahandlers/__init__.py @@ -1,2 +1,18 @@ -# -*- coding: utf-8 -*- - +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# diff --git a/tests/datahandlers/test_boolean.py b/tests/datahandlers/test_boolean.py index aa7900a..24fd16d 100644 --- a/tests/datahandlers/test_boolean.py +++ b/tests/datahandlers/test_boolean.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.exceptions import * diff --git a/tests/datahandlers/test_concat.py b/tests/datahandlers/test_concat.py index 25d821f..31ee5ac 100644 --- a/tests/datahandlers/test_concat.py +++ b/tests/datahandlers/test_concat.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.leapi.datahandlers.datas import Concat as Testee @@ -19,4 +39,5 @@ class ConcatTestCase(unittest.TestCase): field_list = ['', '', ''] testee = Testee(field_list, separator) - self.assertEqual(testee._format_string, separator.join(['%s' for _ in field_list])) \ No newline at end of file + self.assertEqual(testee._format_string, separator.join(['%s' for _ in field_list])) + \ No newline at end of file diff --git a/tests/datahandlers/test_datahandler.py b/tests/datahandlers/test_datahandler.py index 510f711..6f14353 100644 --- a/tests/datahandlers/test_datahandler.py +++ b/tests/datahandlers/test_datahandler.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.leapi.datahandlers.base_classes import DataHandler diff --git a/tests/datahandlers/test_datetime.py b/tests/datahandlers/test_datetime.py index 6646aa0..114ebe4 100644 --- a/tests/datahandlers/test_datetime.py +++ b/tests/datahandlers/test_datetime.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest import datetime from lodel.leapi.datahandlers.datas import DateTime diff --git a/tests/datahandlers/test_file.py b/tests/datahandlers/test_file.py index 7a7246e..9add854 100644 --- a/tests/datahandlers/test_file.py +++ b/tests/datahandlers/test_file.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import os import unittest import tempfile diff --git a/tests/datahandlers/test_formatstring.py b/tests/datahandlers/test_formatstring.py index 51dacac..cd90502 100644 --- a/tests/datahandlers/test_formatstring.py +++ b/tests/datahandlers/test_formatstring.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.leapi.datahandlers.datas import FormatString diff --git a/tests/datahandlers/test_integer.py b/tests/datahandlers/test_integer.py index 4871175..add254d 100644 --- a/tests/datahandlers/test_integer.py +++ b/tests/datahandlers/test_integer.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.leapi.datahandlers.datas import Integer, Boolean from lodel.exceptions import * diff --git a/tests/datahandlers/test_leobjectidentifier.py b/tests/datahandlers/test_leobjectidentifier.py index 47d41ac..59d5b0a 100644 --- a/tests/datahandlers/test_leobjectidentifier.py +++ b/tests/datahandlers/test_leobjectidentifier.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest import inspect diff --git a/tests/datahandlers/test_password.py b/tests/datahandlers/test_password.py index 4c989f3..cc15d0c 100644 --- a/tests/datahandlers/test_password.py +++ b/tests/datahandlers/test_password.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.leapi.datahandlers.datas import Password as Testee diff --git a/tests/datahandlers/test_reference.py b/tests/datahandlers/test_reference.py index 964ce4e..08d9740 100644 --- a/tests/datahandlers/test_reference.py +++ b/tests/datahandlers/test_reference.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest diff --git a/tests/datahandlers/test_regex.py b/tests/datahandlers/test_regex.py index 2f88b66..f918b12 100644 --- a/tests/datahandlers/test_regex.py +++ b/tests/datahandlers/test_regex.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.exceptions import * from lodel.leapi.datahandlers.datas import Regex, Varchar, Integer, UniqID diff --git a/tests/datahandlers/test_text.py b/tests/datahandlers/test_text.py index cfc5995..bd85003 100644 --- a/tests/datahandlers/test_text.py +++ b/tests/datahandlers/test_text.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.leapi.datahandlers.datas import Text diff --git a/tests/datahandlers/test_uniqid.py b/tests/datahandlers/test_uniqid.py index df58460..69d18b3 100644 --- a/tests/datahandlers/test_uniqid.py +++ b/tests/datahandlers/test_uniqid.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from unittest import mock from unittest.mock import patch diff --git a/tests/datahandlers/test_varchar.py b/tests/datahandlers/test_varchar.py index f43abbc..6f64fd7 100644 --- a/tests/datahandlers/test_varchar.py +++ b/tests/datahandlers/test_varchar.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.leapi.datahandlers.datas import Varchar, Integer from lodel.leapi.datahandlers.base_classes import FieldValidationError diff --git a/tests/datahandlers/test_varcharlist.py b/tests/datahandlers/test_varcharlist.py index 7b1eefe..a4e235f 100644 --- a/tests/datahandlers/test_varcharlist.py +++ b/tests/datahandlers/test_varcharlist.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest from lodel.leapi.datahandlers.datas import VarcharList as Testee diff --git a/tests/editorial_model/__init__.py b/tests/editorial_model/__init__.py index e69de29..90c3a8d 100644 --- a/tests/editorial_model/__init__.py +++ b/tests/editorial_model/__init__.py @@ -0,0 +1,20 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + diff --git a/tests/editorial_model/test_model.py b/tests/editorial_model/test_model.py index 9ae8d5b..3501107 100644 --- a/tests/editorial_model/test_model.py +++ b/tests/editorial_model/test_model.py @@ -1,4 +1,22 @@ -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + import unittest diff --git a/tests/editorial_model/test_translator_picklefile.py b/tests/editorial_model/test_translator_picklefile.py index fe7b872..6057200 100644 --- a/tests/editorial_model/test_translator_picklefile.py +++ b/tests/editorial_model/test_translator_picklefile.py @@ -1,4 +1,22 @@ -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + import unittest import tempfile diff --git a/tests/editorial_model/test_translator_xmlfile.py b/tests/editorial_model/test_translator_xmlfile.py index 8085f60..af20f7d 100644 --- a/tests/editorial_model/test_translator_xmlfile.py +++ b/tests/editorial_model/test_translator_xmlfile.py @@ -1,4 +1,22 @@ -#-*- coding: utf-8 -*- +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + import unittest import tempfile diff --git a/tests/leapi/__init__.py b/tests/leapi/__init__.py index e69de29..90c3a8d 100644 --- a/tests/leapi/__init__.py +++ b/tests/leapi/__init__.py @@ -0,0 +1,20 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + diff --git a/tests/leapi/query/__init__.py b/tests/leapi/query/__init__.py index e69de29..90c3a8d 100644 --- a/tests/leapi/query/__init__.py +++ b/tests/leapi/query/__init__.py @@ -0,0 +1,20 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + diff --git a/tests/leapi/query/test_datasource.py b/tests/leapi/query/test_datasource.py index ae3e6c5..eec81c6 100644 --- a/tests/leapi/query/test_datasource.py +++ b/tests/leapi/query/test_datasource.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import copy import datetime import unittest diff --git a/tests/leapi/query/test_filtered.py b/tests/leapi/query/test_filtered.py index 795ed06..64c8712 100644 --- a/tests/leapi/query/test_filtered.py +++ b/tests/leapi/query/test_filtered.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest import tests.loader_utils diff --git a/tests/leapi/query/test_get.py b/tests/leapi/query/test_get.py index 56b6a2c..6de0f07 100644 --- a/tests/leapi/query/test_get.py +++ b/tests/leapi/query/test_get.py @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + import unittest import itertools diff --git a/tests/leapi/query/utils.py b/tests/leapi/query/utils.py index c93df96..238a6c8 100644 --- a/tests/leapi/query/utils.py +++ b/tests/leapi/query/utils.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License @@ -17,7 +18,7 @@ # -# +## # Importing this file trigger dynamic code generation & load # # To use dynamic code import utils.dyncode_module as dyncode diff --git a/tests/leapi/test_lefactory.py b/tests/leapi/test_lefactory.py index 513e1ca..5ac6c6e 100644 --- a/tests/leapi/test_lefactory.py +++ b/tests/leapi/test_lefactory.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/leapi/test_leobject.py b/tests/leapi/test_leobject.py index c79454a..8471671 100644 --- a/tests/leapi/test_leobject.py +++ b/tests/leapi/test_leobject.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/loader_utils.py b/tests/loader_utils.py index eb916f7..1e19d6d 100644 --- a/tests/loader_utils.py +++ b/tests/loader_utils.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/migration_handler/__init__.py b/tests/migration_handler/__init__.py index 84aeb79..b98ec3a 100644 --- a/tests/migration_handler/__init__.py +++ b/tests/migration_handler/__init__.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/migration_handler/test_db_init.py b/tests/migration_handler/test_db_init.py index 0625f9d..645b16f 100644 --- a/tests/migration_handler/test_db_init.py +++ b/tests/migration_handler/test_db_init.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/nc_test_utils_mlstrings.py b/tests/nc_test_utils_mlstrings.py index 047c186..7fa1ead 100644 --- a/tests/nc_test_utils_mlstrings.py +++ b/tests/nc_test_utils_mlstrings.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/plugin/__init__.py b/tests/plugin/__init__.py index 84aeb79..b98ec3a 100644 --- a/tests/plugin/__init__.py +++ b/tests/plugin/__init__.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/plugin/test_plugin.py b/tests/plugin/test_plugin.py index 2f7e08c..6024f51 100644 --- a/tests/plugin/test_plugin.py +++ b/tests/plugin/test_plugin.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/plugin/test_pluginversion.py b/tests/plugin/test_pluginversion.py index 8edb043..01a189f 100644 --- a/tests/plugin/test_pluginversion.py +++ b/tests/plugin/test_pluginversion.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/plugin/tests_hooks.py b/tests/plugin/tests_hooks.py index 4b48fa6..cb0b8af 100644 --- a/tests/plugin/tests_hooks.py +++ b/tests/plugin/tests_hooks.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/settings/__init__.py b/tests/settings/__init__.py index 84aeb79..b98ec3a 100644 --- a/tests/settings/__init__.py +++ b/tests/settings/__init__.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/settings/settings_tests.ini b/tests/settings/settings_tests.ini index 252db99..d70a226 100644 --- a/tests/settings/settings_tests.ini +++ b/tests/settings/settings_tests.ini @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/settings/settings_tests_conf.d/logger.ini b/tests/settings/settings_tests_conf.d/logger.ini index da8f8af..9b4036d 100644 --- a/tests/settings/settings_tests_conf.d/logger.ini +++ b/tests/settings/settings_tests_conf.d/logger.ini @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + [lodel2.logging.default] level = DEBUG context = True diff --git a/tests/settings/settings_tests_conf.d/settings.ini b/tests/settings/settings_tests_conf.d/settings.ini index f344fbf..d70a226 100644 --- a/tests/settings/settings_tests_conf.d/settings.ini +++ b/tests/settings/settings_tests_conf.d/settings.ini @@ -1,3 +1,23 @@ +# +# This file is part of Lodel 2 (https://github.com/OpenEdition) +# +# Copyright (C) 2015-2017 Cléo UMS-3287 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + + [lodel2] lib_path = /home/helene/lodel2 plugins_path = /home/helene/lodel2/plugins diff --git a/tests/settings/test_settings.py b/tests/settings/test_settings.py index 21d77d0..9a212cf 100644 --- a/tests/settings/test_settings.py +++ b/tests/settings/test_settings.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/settings/test_settings_loader.py b/tests/settings/test_settings_loader.py index 524397f..a55decb 100644 --- a/tests/settings/test_settings_loader.py +++ b/tests/settings/test_settings_loader.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/settings/test_validator.py b/tests/settings/test_validator.py index 29fca07..e72d4eb 100644 --- a/tests/settings/test_validator.py +++ b/tests/settings/test_validator.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/tests_conf.d/datasources.ini b/tests/tests_conf.d/datasources.ini index 6e00d2a..f7e9755 100644 --- a/tests/tests_conf.d/datasources.ini +++ b/tests/tests_conf.d/datasources.ini @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/tests_conf.d/dummy_plugin.ini b/tests/tests_conf.d/dummy_plugin.ini index 8f6bd72..04a61d3 100644 --- a/tests/tests_conf.d/dummy_plugin.ini +++ b/tests/tests_conf.d/dummy_plugin.ini @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License diff --git a/tests/tests_conf.d/lodel2.ini b/tests/tests_conf.d/lodel2.ini index ed10a8d..92d3a78 100644 --- a/tests/tests_conf.d/lodel2.ini +++ b/tests/tests_conf.d/lodel2.ini @@ -1,21 +1,23 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # + [lodel2] debug = False sitename = noname diff --git a/tests/utils.py b/tests/utils.py index 08fd117..cd12178 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,15 +1,16 @@ -# +# # This file is part of Lodel 2 (https://github.com/OpenEdition) # # Copyright (C) 2015-2017 Cléo UMS-3287 # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License, version 3, -# as published by the Free Software Foundation. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License