diff --git a/CMakeLists.txt b/CMakeLists.txt index 2831523..19d8236 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ if(POLICY CMP0048) cmake_policy(SET CMP0048 NEW) endif(POLICY CMP0048) -project(dnfdragora VERSION 2.1.5 LANGUAGES NONE) +project(dnfdragora VERSION 2.1.6 LANGUAGES NONE) cmake_minimum_required(VERSION 3.4) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") diff --git a/Changes b/Changes index 969c8ae..32bac3b 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,7 @@ +2024-01-09 v. 2.1.6 +------------------- +- Fix issue #217 Update information' crash dnfdragora (thanks L-U-T-i) + 2023-11-25 v. 2.1.5 ------------------- - Fixed Segfault error when there is no package description. Thanks to Petr Leliaev diff --git a/dnfdragora/ui.py b/dnfdragora/ui.py index e754619..63c8ede 100644 --- a/dnfdragora/ui.py +++ b/dnfdragora/ui.py @@ -1112,9 +1112,10 @@ def _setInfoOnWidget(self, pkg) : s += "
" s += escape(pkg.updateinfo[0]['description']).replace("\n", "
") s += "
" - s += '%s %s'%(pkg.updateinfo[0]['id'], escape(pkg.updateinfo[0]['updated'])).replace("\n", "
") + s += '%s %s'%(pkg.updateinfo[0]['id'], escape(pkg.updateinfo[0]['updated']).replace("\n", "
")) else : s+= missing + s += "
" if pkg.repository: s += "
" @@ -1135,6 +1136,7 @@ def _setInfoOnWidget(self, pkg) : s+= "
".join(pkg.requirements) else: s+= missing + s += "
" t = 'files' s += "
" @@ -1145,6 +1147,7 @@ def _setInfoOnWidget(self, pkg) : s+= "
".join(pkg.filelist) else: s+= missing + s += "
" t = 'changelog' s += "
" @@ -1155,6 +1158,7 @@ def _setInfoOnWidget(self, pkg) : s+= "
".join(pkg.changelog) else: s+= missing + s += "
" self.info.setValue(s) else: logger.warning("_setInfoOnWidget without package")