Replace all occurrences of "can not" with "cannot".

This commit is contained in:
Jonas Thelemann
2017-04-05 13:38:14 +01:00
committed by Dave Page
parent 85db82c7f4
commit 65f21a8cd7
32 changed files with 59 additions and 59 deletions

View File

@@ -390,12 +390,12 @@ class Preferences(object):
if name in cat['preferences']:
return (cat['preferences'])[name]
assert label is not None, "Label for a preference can not be none!"
assert _type is not None, "Type for a preference can not be none!"
assert label is not None, "Label for a preference cannot be none!"
assert _type is not None, "Type for a preference cannot be none!"
assert _type in (
'boolean', 'integer', 'numeric', 'date', 'datetime',
'options', 'multiline', 'switch', 'node', 'text'
), "Type can not be found in the defined list!"
), "Type cannot be found in the defined list!"
(cat['preferences'])[name] = res = _Preference(
cat['id'], name, label, _type, default, help_str, min_val,