Commit a85fef2
committed
Python 3 preparation: avoid logging._levelNames.
logging._levelNames is an internal name, not a public interface, and
is not available in current Python 3. Fortunately, logger.setLevel
accepts strings for log levels, not just numeric levels, in 2.7
(although that change is not mentioned in the 2.7 documentation).1 parent 2332e6c commit a85fef2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1625 | 1625 | | |
1626 | 1626 | | |
1627 | 1627 | | |
1628 | | - | |
| 1628 | + | |
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
| |||
0 commit comments