mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-01 12:45:34 +00:00
fix mypy error
This commit is contained in:
parent
a0a07ab464
commit
d7e2e2cea9
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
package, which are imported into here for compatibility.
|
||||
"""
|
||||
import os
|
||||
from typing import List
|
||||
from collections import namedtuple
|
||||
|
||||
from ..constants import * # NOQA
|
||||
|
@ -65,7 +66,7 @@
|
|||
"""
|
||||
The global warnings_list variable is used to collect warning_info elements while borg is running.
|
||||
"""
|
||||
_warnings_list = []
|
||||
_warnings_list: List[warning_info] = []
|
||||
|
||||
|
||||
def add_warning(msg, *args, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue