aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBlake DeMarcy <ofunknowndescent@gmail.com>2017-04-04 22:10:48 -0500
committerBlake DeMarcy <ofunknowndescent@gmail.com>2017-04-04 22:10:48 -0500
commit03939fdca5808e142799a4d76efe3ccf4a6b63f9 (patch)
treea7b5c4b11b3bf87a0093997fd9470dc61aec7b06 /src
parent9083ed9355c34f40274c3d742ffd8746d5d6d504 (diff)
downloadbbj-03939fdca5808e142799a4d76efe3ccf4a6b63f9.tar.gz
added docs for db_sanity_check
Diffstat (limited to 'src')
-rw-r--r--src/db.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db.py b/src/db.py
index d41494b..f77a647 100644
--- a/src/db.py
+++ b/src/db.py
@@ -308,7 +308,7 @@ def validate(keys_and_values):
elif contains_nonspaces(value):
raise BBJUserError(
- "Username cannot contain whitespace chars besides spaces.")
+ "Username cannot contain whitespace characters besides spaces.")
elif not value.strip():
raise BBJUserError(
@@ -330,7 +330,7 @@ def validate(keys_and_values):
elif key == "quip":
if contains_nonspaces(value):
raise BBJUserError(
- "Quip cannot contain whitespace chars besides spaces.")
+ "Quip cannot contain whitespace characters besides spaces.")
elif len(value) > 120:
raise BBJUserError(
@@ -348,7 +348,7 @@ def validate(keys_and_values):
elif contains_nonspaces(value):
raise BBJUserError(
- "Titles cannot contain whitespace chars besides spaces.")
+ "Titles cannot contain whitespace characters besides spaces.")
elif not value.strip():
raise BBJUserError(
Un proyecto texto-plano.xyz