mirror of
https://github.com/bugsink/bugsink.git
synced 2026-02-08 06:49:37 -06:00
Use strings for setting-constants
more clear when inspecting existing settings; also potentially useful to avoid circular imports (because you may hard-code using strings, rather than import the constants)
This commit is contained in:
@@ -11,10 +11,10 @@ _MEBIBYTE = 1024 * _KIBIBYTE
|
||||
|
||||
|
||||
# CB means "create by"
|
||||
CB_ANYBODY = 0
|
||||
CB_MEMBERS = 1
|
||||
CB_ADMINS = 2
|
||||
CB_NOBODY = 3
|
||||
CB_ANYBODY = "CB_ANYBODY"
|
||||
CB_MEMBERS = "CB_MEMBERS"
|
||||
CB_ADMINS = "CB_ADMINS"
|
||||
CB_NOBODY = "CB_NOBODY"
|
||||
|
||||
|
||||
DEFAULTS = {
|
||||
|
||||
Reference in New Issue
Block a user