mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Replace all occurrences of "can not" with "cannot".
This commit is contained in:
committed by
Dave Page
parent
85db82c7f4
commit
65f21a8cd7
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user