diff options
author | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-04 22:10:48 -0500 |
---|---|---|
committer | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-04 22:10:48 -0500 |
commit | 03939fdca5808e142799a4d76efe3ccf4a6b63f9 (patch) | |
tree | a7b5c4b11b3bf87a0093997fd9470dc61aec7b06 /src | |
parent | 9083ed9355c34f40274c3d742ffd8746d5d6d504 (diff) | |
download | bbj-03939fdca5808e142799a4d76efe3ccf4a6b63f9.tar.gz |
added docs for db_sanity_check
Diffstat (limited to 'src')
-rw-r--r-- | src/db.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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( |