diff options
author | Rob Austein <sra@hactrn.net> | 2014-05-29 22:31:15 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-05-29 22:31:15 +0000 |
commit | 35c1ca65ac2b5cbd943248d59b3e02c6220b232f (patch) | |
tree | bf2daf07febf7cb352b8fcd530e62a1e5df89626 /rpki/gui/app | |
parent | 07a045d1259f30878abba416b86373c05c929965 (diff) |
PyLint
svn path=/trunk/; revision=5845
Diffstat (limited to 'rpki/gui/app')
-rw-r--r-- | rpki/gui/app/check_expired.py | 2 | ||||
-rw-r--r-- | rpki/gui/app/urls.py | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/rpki/gui/app/check_expired.py b/rpki/gui/app/check_expired.py index e869f31b..eda21c0c 100644 --- a/rpki/gui/app/check_expired.py +++ b/rpki/gui/app/check_expired.py @@ -111,7 +111,7 @@ def check_child_certs(conf, errs): pdus = z.call_rpkid(req) for pdu in pdus: if isinstance(pdu, report_error_elt): - logger.error("rpkid reported an error: %s" % pdu.error_code) + logger.error("rpkid reported an error: %s", pdu.error_code) elif isinstance(pdu, list_published_objects_elt): if pdu.uri.endswith('.cer'): cert = X509() diff --git a/rpki/gui/app/urls.py b/rpki/gui/app/urls.py index f70667df..be5cb346 100644 --- a/rpki/gui/app/urls.py +++ b/rpki/gui/app/urls.py @@ -79,17 +79,17 @@ urlpatterns = patterns( (r'^user/(?P<pk>\d+)/delete$', views.user_delete), (r'^user/(?P<pk>\d+)/edit$', views.user_edit), - url(r'^user/password/reset/$', - 'django.contrib.auth.views.password_reset', + url(r'^user/password/reset/$', + 'django.contrib.auth.views.password_reset', #{'post_reset_redirect' : '/user/password/reset/done/'}, {'extra_context': {'form_title': 'Password Reset'}}, name="password_reset"), (r'^user/password/reset/done/$', 'django.contrib.auth.views.password_reset_done'), - url(r'^user/password/reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', - 'django.contrib.auth.views.password_reset_confirm', + url(r'^user/password/reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', + 'django.contrib.auth.views.password_reset_confirm', #{'post_reset_redirect' : '/user/password/done/'}, name="password_reset_confirm"), - (r'^user/password/done/$', + (r'^user/password/done/$', 'django.contrib.auth.views.password_reset_complete'), ) |