Skip to content

Commit

Permalink
changes to support older Python versions
Browse files Browse the repository at this point in the history
Signed-off-by: jakub-nt <[email protected]>
  • Loading branch information
jakub-nt committed Jul 25, 2024
1 parent cbb3039 commit 4df07a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cfbs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import subprocess
import hashlib
import logging as log
from typing import List, Tuple
import urllib
import urllib.request # needed on some platforms
from collections import OrderedDict
Expand Down Expand Up @@ -86,7 +87,7 @@ def pad_right(s, n) -> int:
return s if len(s) >= n else s + " " * (n - len(s))


def split_command(command) -> tuple[str, list[str]]:
def split_command(command) -> Tuple[str, List[str]]:
terms = command.split(" ")
operation, args = terms[0], terms[1:]
return operation, args
Expand Down

0 comments on commit 4df07a7

Please sign in to comment.