mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-01 07:57:26 +01:00
Updated for typing
This commit is contained in:
parent
c6c222bd4f
commit
8527583179
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class SBoGenerate(Configs):
|
||||||
pattern: str = f'{name}: {name}'
|
pattern: str = f'{name}: {name}'
|
||||||
if line.startswith(pattern):
|
if line.startswith(pattern):
|
||||||
return line[len(name) + 1:].strip()
|
return line[len(name) + 1:].strip()
|
||||||
return ''
|
return str()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def read_info_file(info_file: Path, start: str, stop: str) -> list:
|
def read_info_file(info_file: Path, start: str, stop: str) -> list:
|
||||||
|
|
Loading…
Add table
Reference in a new issue