Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 15 Jan 2023 12:01:46 UTC Commit: e3eeb626a76fc1963018ceeafcef4eabd22fe309 https://github.com/geany/www.geany.org/commit/e3eeb626a76fc1963018ceeafcef4e...
Log Message: ----------- Fix linting
Modified Paths: -------------- pastebin/forms.py pastebin/urls.py pastebin/views.py
Modified: pastebin/forms.py 3 lines changed, 0 insertions(+), 3 deletions(-) =================================================================== @@ -11,10 +11,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see http://www.gnu.org/licenses/.
-from datetime import timedelta - from django import forms -from django.utils import timezone from django.utils.translation import gettext_lazy as _
from pastebin.highlight import LEXER_DEFAULT, LEXER_LIST
Modified: pastebin/urls.py 1 lines changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -13,7 +13,6 @@
from django.urls import path, re_path from django.views.decorators.cache import never_cache -from django.views.generic.base import TemplateView
from pastebin.views import ( LatestSnippetsView,
Modified: pastebin/views.py 4 lines changed, 0 insertions(+), 4 deletions(-) =================================================================== @@ -61,10 +61,6 @@ class SnippetNotFoundError(Exception): class SnippetDetailView(View): template_name = 'pastebin/snippet_details.html'
- # ---------------------------------------------------------------------- - def dispatch(self, request, *args, **kwargs): - return super().dispatch(request, *args, **kwargs) - # ---------------------------------------------------------------------- def get(self, request, snippet_id): # load snippet
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).