Skip to content

Commit 12f8014

Browse files
singiamtelktf
authored andcommitted
Don't initialize the loggers to None
It confuses the typing check
1 parent 42ab2a4 commit 12f8014

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

alibuild_helpers/log.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
import time
55
import datetime
66

7-
debug, error, warning, info, success = (None, None, None, None, None)
8-
97
def dieOnError(err, msg) -> None:
108
if err:
119
error("%s", msg)

0 commit comments

Comments
 (0)