Updated for install data

This commit is contained in:
Dimitris Zlatanidis 2024-02-20 21:56:19 +02:00
parent c58dcb67fb
commit 291fc92aba
2 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,9 @@
## slpkg - ChangeLog
### 4.9.9 - 20/02/2024
- Updated:
* Removing '%README%' dependencies when installing data into database
### 4.9.8 - 14/02/2024
- Added:
* python urllib3 settings to the config file (slpkg.toml)

View file

@ -68,7 +68,8 @@ class InstallData(Configs):
files=cache[2], version=cache[3],
download=cache[4], download64=cache[5],
md5sum=cache[6], md5sum64=cache[7],
requires=cache[8], short_description=cache[9])
requires=cache[8].replace('%README%', ''),
short_description=cache[9])
self.session.add(data)
cache: list = [] # reset cache after 11 lines
@ -115,7 +116,8 @@ class InstallData(Configs):
files=cache[2], version=cache[3],
download=cache[4], download64=cache[5],
md5sum=cache[6], md5sum64=cache[7],
requires=cache[8], short_description=cache[9])
requires=cache[8].replace('%README%', ''),
short_description=cache[9])
self.session.add(data)
cache: list = [] # reset cache after 11 lines