We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ec8256 commit 5343794Copy full SHA for 5343794
drishti/reporter.py
@@ -3,6 +3,7 @@
3
import os
4
import sys
5
from subprocess import call
6
+from typing import List, Optional
7
8
# from includes.parser import * # imports {'parser', 'args', 'argparse'} # TODO: Is next line enuf
9
from drishti.includes.parser import args
@@ -29,7 +30,7 @@ def clear():
29
30
_ = call('clear' if os.name == 'posix' else 'cls')
31
32
-def check_log_type(paths: list[str]) -> int | None:
33
+def check_log_type(paths: List[str]) -> Optional[int]:
34
is_darshan = True
35
is_recorder = True
36
multiple_logs = len(paths) > 1
0 commit comments