From 0df7a9d7b38d6e73c23caad397ce4f90ee243c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20M=C3=A9liani?= <m.meliani@neogeo-online.net> Date: Thu, 30 May 2013 11:31:12 +0200 Subject: [PATCH] Changed all hearders in source files. --- src/mapfile.py | 2 +- src/maptools.py | 2 +- src/metadata.py | 33 ++++++++++++++++++++++++--------- src/mralogs.py | 33 ++++++++++++++++++++++++--------- src/pyhtml.py | 33 ++++++++++++++++++++++++--------- src/pyxml.py | 33 ++++++++++++++++++++++++--------- src/server.py | 2 +- src/stores.py | 2 +- src/tools.py | 2 +- src/webapp.py | 33 ++++++++++++++++++++++++--------- 10 files changed, 125 insertions(+), 50 deletions(-) diff --git a/src/mapfile.py b/src/mapfile.py index c7d3716..ffde1c4 100644 --- a/src/mapfile.py +++ b/src/mapfile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # diff --git a/src/maptools.py b/src/maptools.py index 6eeb77e..3ab5941 100644 --- a/src/maptools.py +++ b/src/maptools.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # diff --git a/src/metadata.py b/src/metadata.py index 16e6417..1af6ef9 100644 --- a/src/metadata.py +++ b/src/metadata.py @@ -1,13 +1,28 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- -## metadata.py for in /home/wapiflapi/Projects/neogeo/mra/src/mra_draft -## -## Made by Wannes Rombouts -## Login <rombou_w@epitech.net> -## -## Started on Tue May 21 12:24:26 2013 Wannes Rombouts -## Last update Tue May 28 10:49:58 2013 Wannes Rombouts -## + +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +# # +# MapServer REST API is a python wrapper around MapServer which # +# allows to manipulate a mapfile in a RESTFul way. It has been # +# developped to match as close as possible the way the GeoServer # +# REST API acts. # +# # +# Copyright (C) 2011-2013 Neogeo Technologies. # +# # +# This file is part of MapServer Rest API. # +# # +# MapServer Rest API is free software: you can redistribute it # +# and/or modify it under the terms of the GNU General Public License # +# as published by the Free Software Foundation, either version 3 of # +# the License, or (at your option) any later version. # +# # +# MapServer Rest API 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 General Public License for more details. # +# # +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # import yaml import contextlib diff --git a/src/mralogs.py b/src/mralogs.py index d23e11a..0614301 100644 --- a/src/mralogs.py +++ b/src/mralogs.py @@ -1,13 +1,28 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- -## mralogs.py for in /home/wapiflapi -## -## Made by Wannes Rombouts -## Login <wapiflapi@epitech.net> -## -## Started on Thu May 2 15:46:05 2013 Wannes Rombouts -## Last update Mon May 27 11:22:40 2013 Wannes Rombouts -## + +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +# # +# MapServer REST API is a python wrapper around MapServer which # +# allows to manipulate a mapfile in a RESTFul way. It has been # +# developped to match as close as possible the way the GeoServer # +# REST API acts. # +# # +# Copyright (C) 2011-2013 Neogeo Technologies. # +# # +# This file is part of MapServer Rest API. # +# # +# MapServer Rest API is free software: you can redistribute it # +# and/or modify it under the terms of the GNU General Public License # +# as published by the Free Software Foundation, either version 3 of # +# the License, or (at your option) any later version. # +# # +# MapServer Rest API 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 General Public License for more details. # +# # +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # import string import inspect diff --git a/src/pyhtml.py b/src/pyhtml.py index 474ac6b..c777160 100644 --- a/src/pyhtml.py +++ b/src/pyhtml.py @@ -1,13 +1,28 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- -## pythml.py for in /home/wapiflapi/Projects/neogeo/mra/src/mra_draft -## -## Made by Wannes Rombouts -## Login <rombou_w@epitech.net> -## -## Started on Mon May 6 10:25:51 2013 Wannes Rombouts -## Last update Mon May 27 10:37:56 2013 Wannes Rombouts -## + +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +# # +# MapServer REST API is a python wrapper around MapServer which # +# allows to manipulate a mapfile in a RESTFul way. It has been # +# developped to match as close as possible the way the GeoServer # +# REST API acts. # +# # +# Copyright (C) 2011-2013 Neogeo Technologies. # +# # +# This file is part of MapServer Rest API. # +# # +# MapServer Rest API is free software: you can redistribute it # +# and/or modify it under the terms of the GNU General Public License # +# as published by the Free Software Foundation, either version 3 of # +# the License, or (at your option) any later version. # +# # +# MapServer Rest API 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 General Public License for more details. # +# # +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # import pyxml import StringIO diff --git a/src/pyxml.py b/src/pyxml.py index 60b6964..080023c 100644 --- a/src/pyxml.py +++ b/src/pyxml.py @@ -1,13 +1,28 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- -## pyxml.py for in /home/wapiflapi -## -## Made by Wannes Rombouts -## Login <wapiflapi@epitech.net> -## -## Started on Wed May 1 01:34:36 2013 Wannes Rombouts -## Last update Wed May 29 18:51:46 2013 Wannes Rombouts -## + +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +# # +# MapServer REST API is a python wrapper around MapServer which # +# allows to manipulate a mapfile in a RESTFul way. It has been # +# developped to match as close as possible the way the GeoServer # +# REST API acts. # +# # +# Copyright (C) 2011-2013 Neogeo Technologies. # +# # +# This file is part of MapServer Rest API. # +# # +# MapServer Rest API is free software: you can redistribute it # +# and/or modify it under the terms of the GNU General Public License # +# as published by the Free Software Foundation, either version 3 of # +# the License, or (at your option) any later version. # +# # +# MapServer Rest API 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 General Public License for more details. # +# # +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # import xml.etree.ElementTree as etree from xml.etree.ElementTree import Element diff --git a/src/server.py b/src/server.py index 6857c9d..fb3a25a 100755 --- a/src/server.py +++ b/src/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # diff --git a/src/stores.py b/src/stores.py index 05e2270..1f359e3 100644 --- a/src/stores.py +++ b/src/stores.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # diff --git a/src/tools.py b/src/tools.py index bef4bea..043792e 100644 --- a/src/tools.py +++ b/src/tools.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # diff --git a/src/webapp.py b/src/webapp.py index 4fa60e0..5c5f035 100644 --- a/src/webapp.py +++ b/src/webapp.py @@ -1,13 +1,28 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- -## app.py for in /home/wapiflapi/Projects/neogeo/mra -## -## Made by Wannes Rombouts -## Login <rombou_w@epitech.net> -## -## Started on Tue Apr 30 14:23:31 2013 Wannes Rombouts -## Last update Wed May 29 16:41:34 2013 Wannes Rombouts -## + +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +# # +# MapServer REST API is a python wrapper around MapServer which # +# allows to manipulate a mapfile in a RESTFul way. It has been # +# developped to match as close as possible the way the GeoServer # +# REST API acts. # +# # +# Copyright (C) 2011-2013 Neogeo Technologies. # +# # +# This file is part of MapServer Rest API. # +# # +# MapServer Rest API is free software: you can redistribute it # +# and/or modify it under the terms of the GNU General Public License # +# as published by the Free Software Foundation, either version 3 of # +# the License, or (at your option) any later version. # +# # +# MapServer Rest API 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 General Public License for more details. # +# # +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # import web -- GitLab