Use "could not" consistently, instead of "couldn't" which was used in some places.

This commit is contained in:
Jonas Thelemann
2017-03-07 10:29:54 +00:00
committed by Dave Page
parent f2fc1ceba8
commit c34f5fd2d4
35 changed files with 54 additions and 54 deletions

View File

@@ -230,7 +230,7 @@ class JobScheduleView(PGChildNodeView):
if jscid is not None:
if len(result['rows']) == 0:
return gone(errormsg="Couldn't find the specified job step.")
return gone(errormsg="Could not find the specified job step.")
row = result['rows'][0]
return make_json_response(
@@ -280,7 +280,7 @@ class JobScheduleView(PGChildNodeView):
return internal_server_error(errormsg=res)
if len(res['rows']) == 0:
return gone(errormsg="Couldn't find the specified job step.")
return gone(errormsg="Could not find the specified job step.")
return ajax_response(
response=res['rows'][0],

View File

@@ -243,7 +243,7 @@ SELECT EXISTS(
if jstid is not None:
if len(result['rows']) == 0:
return gone(errormsg="Couldn't find the specified job step.")
return gone(errormsg="Could not find the specified job step.")
row = result['rows'][0]
return make_json_response(
@@ -297,7 +297,7 @@ SELECT EXISTS(
return internal_server_error(errormsg=res)
if len(res['rows']) == 0:
return gone(errormsg="Couldn't find the specified job step.")
return gone(errormsg="Could not find the specified job step.")
return ajax_response(
response=res['rows'][0],
@@ -392,7 +392,7 @@ SELECT EXISTS(
if len(res['rows']) == 0:
return gone(
errormsg=gettext(
"Couldn't find the specified job step."
"Could not find the specified job step."
)
)
row = res['rows'][0]
@@ -486,7 +486,7 @@ SELECT EXISTS(
if len(res['rows']) == 0:
return gone(
errormsg=gettext(
"Couldn't find the specified job step."
"Could not find the specified job step."
)
)
row = res['rows'][0]