mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
...
This commit is contained in:
@@ -29,7 +29,7 @@ with open('kitty/constants.py') as f:
|
||||
nv = re.search(r'^version\s+=\s+Version\((\d+), (\d+), (\d+)\)', raw, flags=re.MULTILINE)
|
||||
if nv is not None:
|
||||
version = '%s.%s.%s' % (nv.group(1), nv.group(2), nv.group(3))
|
||||
appname = re.search(r"^appname\s+=\s+'([^']+)'", raw, flags=re.MULTILINE).group(1) # type: ignore
|
||||
appname = re.search(r"^appname: str\s+=\s+'([^']+)'", raw, flags=re.MULTILINE).group(1) # type: ignore
|
||||
|
||||
ALL_ACTIONS = 'man html build tag sdist upload website'.split()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user