Skip to content

Commit 3fdd429

Browse files
committed
fixing link rot
1 parent 91610ce commit 3fdd429

30 files changed

+1062
-1228
lines changed

content/pages/05-deployment/28-jenkins.markdown

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ used to automate building, [testing](/testing.html) and
4040
[Jenkins container](https://registry.hub.docker.com/_/jenkins/) on the
4141
Docker hub.
4242

43-
* [Securing Jenkins](https://wiki.jenkins.io/display/JENKINS/Securing+Jenkins)
44-
is the landing page for Jenkins security. If you're deploying your own
45-
instance, you'll need to lock it down against unauthorized users.
46-
4743
* [Updating the GOV.UK Continuous Integration environment](https://gdstechnology.blog.gov.uk/2017/02/10/updating-the-gov-uk-continuous-integration-environment/)
4844
describes the configuration improvements one infrastructure team made
4945
to Jenkins, where they enabled

content/pages/examples/flask/flask-app-badrequest.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ that accepts POSTs.
2020
and <a href="/flask-app-immutabledict-examples.html">ImmutableDict</a>
2121
are several other callables with code examples from the same `flask.app` package.
2222

23-
You should read up on these subjects along with these `BadRequest` examples:
23+
These subjects go along with the `BadRequest` code examples:
2424

2525
* [web development](/web-development.html) and [web design](/web-design.html)
2626
* [Flask](/flask.html) and [web framework](/web-frameworks.html) concepts
@@ -90,7 +90,6 @@ from ..const import (
9090
## ... source file abbreviated to get to BadRequest examples ...
9191

9292

93-
API_SELECT_COLUMNS_RIS_KEY,
9493
API_SHOW_COLUMNS_RES_KEY,
9594
API_SHOW_COLUMNS_RIS_KEY,
9695
API_SHOW_TITLE_RES_KEY,
@@ -99,6 +98,7 @@ from ..const import (
9998
PERMISSION_PREFIX,
10099
)
101100
from ..exceptions import FABException, InvalidOrderByColumnFABException
101+
from ..hooks import get_before_request_hooks, wrap_route_handler_with_hooks
102102
from ..security.decorators import permission_name, protect
103103

104104
log = logging.getLogger(__name__)
@@ -274,11 +274,11 @@ def get_error_description(exception):
274274
except AttributeError:
275275
return str(exception)
276276
if isinstance(exception, Forbidden) and description == Forbidden.description:
277-
return _("You are not allowed to access this page.")
277+
return _('You are not allowed to access this page.')
278278
elif isinstance(exception, NotFound) and description == NotFound.description:
279279
return _("The page you are looking for doesn't exist.")
280280
~~ elif isinstance(exception, BadRequest) and description == BadRequest.description:
281-
return _("The request was invalid or contained invalid arguments.")
281+
return _('The request was invalid or contained invalid arguments.')
282282
else:
283283
return str(description)
284284

0 commit comments

Comments
 (0)