mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
lib.Package: Cosmetics: Fix log message typo
Fix typo in log message. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
d14f1645c1
commit
3f66e061a6
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class Package:
|
||||||
def parse_spec_str(cls, spec: str, delimiter='|'):
|
def parse_spec_str(cls, spec: str, delimiter='|'):
|
||||||
tags = spec.split(delimiter)
|
tags = spec.split(delimiter)
|
||||||
if len(tags) != 5:
|
if len(tags) != 5:
|
||||||
raise ValueError(f'Invalid package spec string \"{spec}\"')
|
raise ValueError(f'Invalid package spec string "{spec}"')
|
||||||
return cls(name=tags[0], vendor=tags[1], packager=tags[2], url=tags[3], maintainer=tags[4])
|
return cls(name=tags[0], vendor=tags[1], packager=tags[2], url=tags[3], maintainer=tags[4])
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue