Remove unnecessary code

This commit is contained in:
Carsten Grohmann 2023-03-16 22:18:37 +01:00
parent 8a1083cf4b
commit 924fc37f48

View File

@ -4391,9 +4391,6 @@ Out of memory: Killed process 651 (unattended-upgr) total-vm:108020kB, anon-rss:
self.oom_result = analyser.oom_result self.oom_result = analyser.oom_result
self.show_oom_details() self.show_oom_details()
self.update_toc() self.update_toc()
else:
# don't show results - just return
return
def load_from_form(self): def load_from_form(self):
""" """
@ -4454,7 +4451,9 @@ Out of memory: Killed process 651 (unattended-upgr) total-vm:108020kB, anon-rss:
show_elements(".js-memory-fragmentation--show") show_elements(".js-memory-fragmentation--show")
if self.oom_result.mem_fragmented: if self.oom_result.mem_fragmented:
show_elements(".js-memory-heavy-fragmentation--show") show_elements(".js-memory-heavy-fragmentation--show")
hide_elements(".js-memory-no-heavy-fragmentation--show")
else: else:
hide_elements(".js-memory-heavy-fragmentation--show")
show_elements(".js-memory-no-heavy-fragmentation--show") show_elements(".js-memory-no-heavy-fragmentation--show")
def _show_page_size(self): def _show_page_size(self):