mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
global declaration is only needed if it's necessary to modify a module
level variable, to declare it and use it read only it's not necessary
This commit is contained in:
parent
8f7b08a01c
commit
4eb20c5d82
1 changed files with 0 additions and 1 deletions
|
|
@ -4,7 +4,6 @@ from logging import CRITICAL, ERROR, WARN, INFO, DEBUG
|
|||
from logging import critical, error, info, warning, warn, debug
|
||||
from logging import Formatter, getLogger, StreamHandler
|
||||
|
||||
global ANSI
|
||||
ANSI = {
|
||||
'gray' : lambda(text) : u'\033[1;30m' + unicode(text) + u'\033[1;m',
|
||||
'red' : lambda(text) : u'\033[1;31m' + unicode(text) + u'\033[1;m',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue