From fdf477bb861baa390ddb9a35a34c9bd59c5c246f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Sat, 22 Jul 2017 20:31:59 +0200 Subject: [PATCH] Remove unused license preamble It was not used consistently, and there is a license file for the whole repository in COPYING anyway. --- manage.py | 34 ++++++++-------------------------- mygpo/__init__.py | 17 +---------------- mygpo/administration/auth.py | 17 ----------------- mygpo/api/__init__.py | 17 ----------------- mygpo/api/advanced/__init__.py | 17 ----------------- mygpo/api/advanced/auth.py | 17 ----------------- mygpo/api/advanced/directory.py | 17 ----------------- mygpo/api/advanced/episode.py | 17 ----------------- mygpo/api/advanced/lists.py | 17 ----------------- mygpo/api/advanced/settings.py | 17 ----------------- mygpo/api/advanced/sync.py | 17 ----------------- mygpo/api/advanced/updates.py | 17 ----------------- mygpo/api/backend.py | 17 ----------------- mygpo/api/basic_auth.py | 17 ----------------- mygpo/api/constants.py | 17 ----------------- mygpo/api/httpresponse.py | 17 ----------------- mygpo/api/legacy.py | 17 ----------------- mygpo/api/opml.py | 16 ---------------- mygpo/api/simple.py | 17 ----------------- mygpo/api/subscriptions.py | 17 ----------------- mygpo/api/tests.py | 18 ------------------ mygpo/api/views.py | 19 +------------------ mygpo/constants.py | 31 +++++++------------------------ mygpo/core/tests.py | 18 +----------------- mygpo/data/delicious.py | 18 ------------------ mygpo/data/feeddownloader.py | 16 ---------------- mygpo/data/flickr.py | 18 ------------------ mygpo/data/podcast.py | 17 ----------------- mygpo/data/tests.py | 17 +---------------- mygpo/data/youtube.py | 16 ---------------- mygpo/directory/tests.py | 17 ----------------- mygpo/maintenance/tests.py | 17 ----------------- mygpo/podcasts/tests.py | 17 ----------------- mygpo/podcasts/views/episode.py | 17 ----------------- mygpo/publisher/auth.py | 17 ----------------- mygpo/publisher/tests.py | 17 +---------------- mygpo/publisher/utils.py | 17 ----------------- mygpo/settings.py | 18 ------------------ mygpo/urls.py | 17 ----------------- mygpo/userfeeds/auth.py | 17 ----------------- mygpo/userfeeds/tests.py | 17 +---------------- mygpo/users/tests.py | 17 ----------------- mygpo/users/views/device.py | 17 ----------------- mygpo/users/views/settings.py | 17 ----------------- mygpo/users/views/user.py | 17 ----------------- mygpo/utils.py | 16 ---------------- mygpo/web/__init__.py | 17 +---------------- mygpo/web/auth.py | 17 ----------------- mygpo/web/google.py | 17 ----------------- mygpo/web/logo.py | 17 ----------------- mygpo/web/tests.py | 17 ----------------- mygpo/web/views.py | 17 ----------------- mygpo/wsgi.py | 39 +++++++++++---------------------------- 53 files changed, 33 insertions(+), 924 deletions(-) rewrite manage.py (76%) rewrite mygpo/__init__.py (100%) rewrite mygpo/api/views.py (96%) rewrite mygpo/constants.py (83%) rewrite mygpo/core/tests.py (99%) rewrite mygpo/data/tests.py (100%) rewrite mygpo/publisher/tests.py (100%) rewrite mygpo/userfeeds/tests.py (100%) rewrite mygpo/web/__init__.py (100%) rewrite mygpo/wsgi.py (74%) diff --git a/manage.py b/manage.py dissimilarity index 76% index 876c69dd..16c06cc4 100644 --- a/manage.py +++ b/manage.py @@ -1,26 +1,8 @@ -#!/usr/bin/env python -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - -import os -import sys - -if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mygpo.settings") - - from django.core.management import execute_from_command_line - execute_from_command_line(sys.argv) +import os +import sys + +if __name__ == "__main__": + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mygpo.settings") + + from django.core.management import execute_from_command_line + execute_from_command_line(sys.argv) diff --git a/mygpo/__init__.py b/mygpo/__init__.py dissimilarity index 100% index a932e20b..8b137891 100644 --- a/mygpo/__init__.py +++ b/mygpo/__init__.py @@ -1,16 +1 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# + diff --git a/mygpo/administration/auth.py b/mygpo/administration/auth.py index accef669..d352b7fc 100644 --- a/mygpo/administration/auth.py +++ b/mygpo/administration/auth.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from functools import wraps from django.http import Http404, HttpResponseRedirect diff --git a/mygpo/api/__init__.py b/mygpo/api/__init__.py index b9851c90..0559e533 100644 --- a/mygpo/api/__init__.py +++ b/mygpo/api/__init__.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from datetime import datetime from django.core.exceptions import ObjectDoesNotExist diff --git a/mygpo/api/advanced/__init__.py b/mygpo/api/advanced/__init__.py index 5159786a..74f5909f 100644 --- a/mygpo/api/advanced/__init__.py +++ b/mygpo/api/advanced/__init__.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from functools import partial from collections import defaultdict diff --git a/mygpo/api/advanced/auth.py b/mygpo/api/advanced/auth.py index e4a2b725..d351a5c4 100644 --- a/mygpo/api/advanced/auth.py +++ b/mygpo/api/advanced/auth.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from datetime import datetime, timedelta from django.contrib import auth diff --git a/mygpo/api/advanced/directory.py b/mygpo/api/advanced/directory.py index f27aaae6..b35b255c 100644 --- a/mygpo/api/advanced/directory.py +++ b/mygpo/api/advanced/directory.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from django.http import Http404 from django.core.urlresolvers import reverse from django.contrib.sites.requests import RequestSite diff --git a/mygpo/api/advanced/episode.py b/mygpo/api/advanced/episode.py index 8ed6adcd..2b12704f 100644 --- a/mygpo/api/advanced/episode.py +++ b/mygpo/api/advanced/episode.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from datetime import datetime from mygpo.api import APIView, RequestException diff --git a/mygpo/api/advanced/lists.py b/mygpo/api/advanced/lists.py index 1b3ff397..cd2b4844 100644 --- a/mygpo/api/advanced/lists.py +++ b/mygpo/api/advanced/lists.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import uuid from functools import partial from datetime import datetime diff --git a/mygpo/api/advanced/settings.py b/mygpo/api/advanced/settings.py index 57b4cad7..a3361154 100644 --- a/mygpo/api/advanced/settings.py +++ b/mygpo/api/advanced/settings.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import json from django.shortcuts import get_object_or_404 diff --git a/mygpo/api/advanced/sync.py b/mygpo/api/advanced/sync.py index 0840350d..16b625cb 100644 --- a/mygpo/api/advanced/sync.py +++ b/mygpo/api/advanced/sync.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from django.http import HttpResponseBadRequest, HttpResponseNotFound from django.views.decorators.csrf import csrf_exempt from django.views.decorators.cache import never_cache diff --git a/mygpo/api/advanced/updates.py b/mygpo/api/advanced/updates.py index 26dbb2b6..1456b247 100644 --- a/mygpo/api/advanced/updates.py +++ b/mygpo/api/advanced/updates.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from itertools import chain from datetime import datetime diff --git a/mygpo/api/backend.py b/mygpo/api/backend.py index 42432f64..a58f5517 100644 --- a/mygpo/api/backend.py +++ b/mygpo/api/backend.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import uuid from django.db import transaction, IntegrityError diff --git a/mygpo/api/basic_auth.py b/mygpo/api/basic_auth.py index d420bd46..ff8a41d0 100644 --- a/mygpo/api/basic_auth.py +++ b/mygpo/api/basic_auth.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import base64 from functools import wraps diff --git a/mygpo/api/constants.py b/mygpo/api/constants.py index 0a52a017..291a431a 100644 --- a/mygpo/api/constants.py +++ b/mygpo/api/constants.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - # Set _ to no-op, because we just want to mark the strings as # translatable and will use gettext on these strings later on diff --git a/mygpo/api/httpresponse.py b/mygpo/api/httpresponse.py index 7d3ad045..0f4fcca6 100644 --- a/mygpo/api/httpresponse.py +++ b/mygpo/api/httpresponse.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import json from django.http import HttpResponse diff --git a/mygpo/api/legacy.py b/mygpo/api/legacy.py index 4e40fe3a..f7aee412 100644 --- a/mygpo/api/legacy.py +++ b/mygpo/api/legacy.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from datetime import datetime from django.http import HttpResponse diff --git a/mygpo/api/opml.py b/mygpo/api/opml.py index f6921c92..bd2fd1be 100644 --- a/mygpo/api/opml.py +++ b/mygpo/api/opml.py @@ -1,20 +1,4 @@ # -*- coding: utf-8 -*- -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# """OPML importer and exporter (based on gPodder's "opml" module) diff --git a/mygpo/api/simple.py b/mygpo/api/simple.py index 494e7ff2..00970e35 100644 --- a/mygpo/api/simple.py +++ b/mygpo/api/simple.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import json import string from itertools import islice diff --git a/mygpo/api/subscriptions.py b/mygpo/api/subscriptions.py index 729c2184..5f38984f 100644 --- a/mygpo/api/subscriptions.py +++ b/mygpo/api/subscriptions.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from datetime import datetime from django.shortcuts import get_object_or_404 diff --git a/mygpo/api/tests.py b/mygpo/api/tests.py index 329e6a1d..5998d7eb 100644 --- a/mygpo/api/tests.py +++ b/mygpo/api/tests.py @@ -1,21 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - - import json import copy import unittest diff --git a/mygpo/api/views.py b/mygpo/api/views.py dissimilarity index 96% index 2d20fd4e..60f00ef0 100644 --- a/mygpo/api/views.py +++ b/mygpo/api/views.py @@ -1,18 +1 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - -# Create your views here. +# Create your views here. diff --git a/mygpo/constants.py b/mygpo/constants.py dissimilarity index 83% index d03b2726..cc956953 100644 --- a/mygpo/constants.py +++ b/mygpo/constants.py @@ -1,24 +1,7 @@ -# -*- coding: utf-8 -*- -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - - -PODCAST_LOGO_SIZE = 32 -PODCAST_LOGO_MEDIUM_SIZE = 64 -PODCAST_LOGO_BIG_SIZE = 128 - -DEFAULT_LOGIN_REDIRECT = '/' +# -*- coding: utf-8 -*- + +PODCAST_LOGO_SIZE = 32 +PODCAST_LOGO_MEDIUM_SIZE = 64 +PODCAST_LOGO_BIG_SIZE = 128 + +DEFAULT_LOGIN_REDIRECT = '/' diff --git a/mygpo/core/tests.py b/mygpo/core/tests.py dissimilarity index 99% index 617b87b1..8b137891 100644 --- a/mygpo/core/tests.py +++ b/mygpo/core/tests.py @@ -1,17 +1 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - + diff --git a/mygpo/data/delicious.py b/mygpo/data/delicious.py index 750e683a..60c4e560 100644 --- a/mygpo/data/delicious.py +++ b/mygpo/data/delicious.py @@ -1,21 +1,3 @@ -# -# This file is part of gpodder.net. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - - import json import hashlib import urllib.request, urllib.parse, urllib.error diff --git a/mygpo/data/feeddownloader.py b/mygpo/data/feeddownloader.py index 34639ea8..0f09a78f 100755 --- a/mygpo/data/feeddownloader.py +++ b/mygpo/data/feeddownloader.py @@ -1,21 +1,5 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# import os.path import urllib.request, urllib.error, urllib.parse diff --git a/mygpo/data/flickr.py b/mygpo/data/flickr.py index 614f0f5e..65209ddd 100644 --- a/mygpo/data/flickr.py +++ b/mygpo/data/flickr.py @@ -1,21 +1,3 @@ -# -# This file is part of gpodder.net. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - - import json import re import urllib.request, urllib.parse, urllib.error diff --git a/mygpo/data/podcast.py b/mygpo/data/podcast.py index b42965f9..e848ad15 100644 --- a/mygpo/data/podcast.py +++ b/mygpo/data/podcast.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from collections import Counter import random import logging diff --git a/mygpo/data/tests.py b/mygpo/data/tests.py dissimilarity index 100% index a932e20b..8b137891 100644 --- a/mygpo/data/tests.py +++ b/mygpo/data/tests.py @@ -1,16 +1 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# + diff --git a/mygpo/data/youtube.py b/mygpo/data/youtube.py index d2941426..e6d7645b 100644 --- a/mygpo/data/youtube.py +++ b/mygpo/data/youtube.py @@ -1,21 +1,5 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# # taken from gPodder :) diff --git a/mygpo/directory/tests.py b/mygpo/directory/tests.py index f6a15b59..c0ec9838 100644 --- a/mygpo/directory/tests.py +++ b/mygpo/directory/tests.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import unittest import doctest import uuid diff --git a/mygpo/maintenance/tests.py b/mygpo/maintenance/tests.py index f14f14cf..defa14d4 100644 --- a/mygpo/maintenance/tests.py +++ b/mygpo/maintenance/tests.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import uuid from datetime import datetime import unittest diff --git a/mygpo/podcasts/tests.py b/mygpo/podcasts/tests.py index 1fd6e1fd..f0b58307 100644 --- a/mygpo/podcasts/tests.py +++ b/mygpo/podcasts/tests.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import unittest import uuid from datetime import datetime, timedelta diff --git a/mygpo/podcasts/views/episode.py b/mygpo/podcasts/views/episode.py index 730cc5ac..c9d951fb 100644 --- a/mygpo/podcasts/views/episode.py +++ b/mygpo/podcasts/views/episode.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from datetime import datetime from functools import wraps diff --git a/mygpo/publisher/auth.py b/mygpo/publisher/auth.py index fe6912d7..29b069c9 100644 --- a/mygpo/publisher/auth.py +++ b/mygpo/publisher/auth.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from functools import wraps from django.http import HttpResponseRedirect diff --git a/mygpo/publisher/tests.py b/mygpo/publisher/tests.py dissimilarity index 100% index a932e20b..8b137891 100644 --- a/mygpo/publisher/tests.py +++ b/mygpo/publisher/tests.py @@ -1,16 +1 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# + diff --git a/mygpo/publisher/utils.py b/mygpo/publisher/utils.py index d8842597..18ffa776 100644 --- a/mygpo/publisher/utils.py +++ b/mygpo/publisher/utils.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from collections import namedtuple, defaultdict from datetime import timedelta, datetime, time diff --git a/mygpo/settings.py b/mygpo/settings.py index bd4566e3..987ae824 100644 --- a/mygpo/settings.py +++ b/mygpo/settings.py @@ -1,21 +1,3 @@ -# Django settings for mygpo project. -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import re import sys import os.path diff --git a/mygpo/urls.py b/mygpo/urls.py index e2adb8b8..9acee122 100644 --- a/mygpo/urls.py +++ b/mygpo/urls.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import os.path from django.conf.urls import include, url from django.contrib import admin diff --git a/mygpo/userfeeds/auth.py b/mygpo/userfeeds/auth.py index ba4e8785..cc34c936 100644 --- a/mygpo/userfeeds/auth.py +++ b/mygpo/userfeeds/auth.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from functools import wraps from django.http import HttpResponse, HttpResponseBadRequest, Http404 diff --git a/mygpo/userfeeds/tests.py b/mygpo/userfeeds/tests.py dissimilarity index 100% index a932e20b..8b137891 100644 --- a/mygpo/userfeeds/tests.py +++ b/mygpo/userfeeds/tests.py @@ -1,16 +1 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# + diff --git a/mygpo/users/tests.py b/mygpo/users/tests.py index 54176d87..9f9ee0fe 100644 --- a/mygpo/users/tests.py +++ b/mygpo/users/tests.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import uuid import unittest from collections import Counter diff --git a/mygpo/users/views/device.py b/mygpo/users/views/device.py index 1b1f1524..48b5478e 100644 --- a/mygpo/users/views/device.py +++ b/mygpo/users/views/device.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import uuid from functools import wraps from xml.parsers.expat import ExpatError diff --git a/mygpo/users/views/settings.py b/mygpo/users/views/settings.py index 74abd70d..332b4855 100644 --- a/mygpo/users/views/settings.py +++ b/mygpo/users/views/settings.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from django.shortcuts import render from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect diff --git a/mygpo/users/views/user.py b/mygpo/users/views/user.py index 664c017f..313b4c4d 100644 --- a/mygpo/users/views/user.py +++ b/mygpo/users/views/user.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import string import random diff --git a/mygpo/utils.py b/mygpo/utils.py index 09ba3ff4..4cbe502e 100644 --- a/mygpo/utils.py +++ b/mygpo/utils.py @@ -1,20 +1,4 @@ # -*- coding: utf-8 -*- -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# import json import functools diff --git a/mygpo/web/__init__.py b/mygpo/web/__init__.py dissimilarity index 100% index a932e20b..8b137891 100644 --- a/mygpo/web/__init__.py +++ b/mygpo/web/__init__.py @@ -1,16 +1 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# + diff --git a/mygpo/web/auth.py b/mygpo/web/auth.py index 9b01e52f..79f1e1df 100644 --- a/mygpo/web/auth.py +++ b/mygpo/web/auth.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from django.contrib.auth.backends import ModelBackend from django.core.validators import validate_email from django.core.exceptions import ValidationError diff --git a/mygpo/web/google.py b/mygpo/web/google.py index 12ae507e..b1de1df2 100644 --- a/mygpo/web/google.py +++ b/mygpo/web/google.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - from django.conf import settings diff --git a/mygpo/web/logo.py b/mygpo/web/logo.py index 8c1e125b..948fa500 100644 --- a/mygpo/web/logo.py +++ b/mygpo/web/logo.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import os.path import io from datetime import datetime diff --git a/mygpo/web/tests.py b/mygpo/web/tests.py index ec8049ea..d4835ee0 100644 --- a/mygpo/web/tests.py +++ b/mygpo/web/tests.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import unittest import doctest import uuid diff --git a/mygpo/web/views.py b/mygpo/web/views.py index 2f5181cc..b7a6f7a8 100644 --- a/mygpo/web/views.py +++ b/mygpo/web/views.py @@ -1,20 +1,3 @@ -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . -# - import sys from collections import defaultdict from datetime import datetime, timedelta diff --git a/mygpo/wsgi.py b/mygpo/wsgi.py dissimilarity index 74% index 3395ec44..c9493660 100755 --- a/mygpo/wsgi.py +++ b/mygpo/wsgi.py @@ -1,28 +1,11 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# my.gpodder.org FastCGI handler for lighttpd (default setup) -# -# This file is part of my.gpodder.org. -# -# my.gpodder.org 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. -# -# my.gpodder.org 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 my.gpodder.org. If not, see . - - -import os - -# Set the DJANGO_SETTINGS_MODULE environment variable -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mygpo.settings") - -from django.core.wsgi import get_wsgi_application - -application = get_wsgi_application() +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import os + +# Set the DJANGO_SETTINGS_MODULE environment variable +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mygpo.settings") + +from django.core.wsgi import get_wsgi_application + +application = get_wsgi_application() -- 2.11.4.GIT