From nobody Mon Sep 16 19:30:30 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=patchew-devel-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1543442192750603.3288335050374; Wed, 28 Nov 2018 13:56:32 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 73328306B58A; Wed, 28 Nov 2018 21:56:31 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 632E95EDE4; Wed, 28 Nov 2018 21:56:31 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 56C523F7CB; Wed, 28 Nov 2018 21:56:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id wASLuU3E003649 for ; Wed, 28 Nov 2018 16:56:30 -0500 Received: by smtp.corp.redhat.com (Postfix) id 4D0C4103BAB9; Wed, 28 Nov 2018 21:56:30 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-116-23.gru2.redhat.com [10.97.116.23]) by smtp.corp.redhat.com (Postfix) with ESMTP id B078B105705B; Wed, 28 Nov 2018 21:56:27 +0000 (UTC) From: Caio Carrara To: patchew-devel@redhat.com Date: Wed, 28 Nov 2018 19:56:16 -0200 Message-Id: <20181128215617.9284-2-ccarrara@redhat.com> In-Reply-To: <20181128215617.9284-1-ccarrara@redhat.com> References: <20181128215617.9284-1-ccarrara@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH 1/2] Apply PEP8 to www apps and urls modules X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 28 Nov 2018 21:56:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The adjustments in this change were basically indentation and line breaks. Signed-off-by: Caio Carrara --- www/apps.py | 2 -- www/urls.py | 40 ++++++++++++++++++++-------------------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/www/apps.py b/www/apps.py index 82a38c9..ddae842 100644 --- a/www/apps.py +++ b/www/apps.py @@ -8,8 +8,6 @@ # This work is licensed under the MIT License. Please see the LICENSE fil= e or # http://opensource.org/licenses/MIT. =20 - - from django.apps import AppConfig =20 =20 diff --git a/www/urls.py b/www/urls.py index 21b945c..b64c1c8 100644 --- a/www/urls.py +++ b/www/urls.py @@ -17,23 +17,23 @@ urlpatterns =3D [] dispatch_module_hook("www_url_hook", urlpatterns=3Durlpatterns) =20 urlpatterns +=3D [ - url( - '^login/$', - auth_views.login, - {'template_name': 'login.html'}, - name=3D"login" - ), - url( - '^logout/$', - auth_views.logout, - name=3D"logout" - ), - url(r"^search$", views.view_search, name=3D"search"), - url(r"^search-help$", views.view_search_help, name=3D"search_help"= ), - url(r"^(?P[^/]*)/$", views.view_series_list, name=3D"seri= es_list"), - url(r"^(?P[^/]*)/info$", views.view_project_detail, name= =3D"project_detail"), - url(r"^(?P[^/]*)/(?P[^/]*)/$", views.view_ser= ies_detail, name=3D"series_detail"), - url(r"^(?P[^/]*)/(?P[^/]*)/(?P[^/]= *)/$", views.view_series_message, name=3D"series_message"), - url(r"^(?P[^/]*)/(?P[^/]*)/mbox$", views.view= _mbox, name=3D"mbox"), - url(r"^$", views.view_project_list, name=3D"project_list"), - ] + url( + '^login/$', + auth_views.login, + {'template_name': 'login.html'}, + name=3D"login" + ), + url( + '^logout/$', + auth_views.logout, + name=3D"logout" + ), + url(r"^search$", views.view_search, name=3D"search"), + url(r"^search-help$", views.view_search_help, name=3D"search_help"), + url(r"^(?P[^/]*)/$", views.view_series_list, name=3D"series_l= ist"), + url(r"^(?P[^/]*)/info$", views.view_project_detail, name=3D"p= roject_detail"), + url(r"^(?P[^/]*)/(?P[^/]*)/$", views.view_series_= detail, name=3D"series_detail"), + url(r"^(?P[^/]*)/(?P[^/]*)/(?P[^/]*)/$= ", views.view_series_message, name=3D"series_message"), + url(r"^(?P[^/]*)/(?P[^/]*)/mbox$", views.view_mbo= x, name=3D"mbox"), + url(r"^$", views.view_project_list, name=3D"project_list"), +] --=20 2.19.2 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel