mirror of https://github.com/peter4431/rq.git
Fix logging regression for Python-2.6
logger.setLevel() doesn't work when a string is passed in Python-2.6. This patch checks if the level has been set and if not (in Python-2.6), tries to set it again using appropriate level constants Also unused dictConfig import is removedmain
parent
e1e4c00a67
commit
0a49e247ea
Loading…
Reference in New Issue