mirror of
https://github.com/drewcassidy/yaclog-ksp.git
synced 2024-09-01 14:58:44 +00:00
Update yaclog API for in-dev version
This commit is contained in:
parent
7fd046bc3d
commit
adc5c66067
@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated API for yaclog to 1.0.0
|
||||
|
||||
## 0.2.0 - 2021-05-06
|
||||
|
||||
### Changed
|
||||
|
@ -30,7 +30,7 @@ project_urls =
|
||||
[options]
|
||||
install_requires =
|
||||
Click ~= 7.0
|
||||
yaclog ~= 0.1
|
||||
yaclog ~= 1.0
|
||||
python_requires = >= 3.8
|
||||
packages = find:
|
||||
|
||||
|
@ -52,7 +52,7 @@ def main(inpath, outpath, name):
|
||||
node = ConfigNode()
|
||||
|
||||
# find metadata table rows
|
||||
for key, value in re.findall(r'^\|(?P<key>[^\n-]*?)\|(?P<value>[^\n-]*?)\|$', log.header, flags=re.MULTILINE):
|
||||
for key, value in re.findall(r'^\|(?P<key>[^\n-]*?)\|(?P<value>[^\n-]*?)\|$', log.preamble, flags=re.MULTILINE):
|
||||
key = key.strip()
|
||||
value = value.strip()
|
||||
if key.strip(':-'):
|
||||
|
Loading…
Reference in New Issue
Block a user