Skip to content

Commit 431fedd

Browse files
committed
no need to initialize events' class vars with None
1 parent 718865f commit 431fedd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

iocage/lib/events.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ class IocageEvent:
4848

4949
PENDING_COUNT: int = 0
5050

51-
identifier: str = None
52-
_started_at: float = None
53-
_stopped_at: float = None
51+
identifier: str
52+
_started_at: float
53+
_stopped_at: float
5454
_pending: bool = False
5555
skipped: bool = False
5656
done: bool = True
57-
error: BaseException = None
57+
error: BaseException
5858

5959
def __init__(self, message=None, **kwargs) -> None:
6060
"""

0 commit comments

Comments
 (0)