From d9384d74a21c0e8986ce7d9a51573c102175c9f6 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 7 Apr 2022 15:16:56 -0300 Subject: [PATCH] [debian.gui] refactoring: static method --- bauh/gems/debian/gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bauh/gems/debian/gui.py b/bauh/gems/debian/gui.py index 8348e825..8d7af964 100644 --- a/bauh/gems/debian/gui.py +++ b/bauh/gems/debian/gui.py @@ -17,7 +17,8 @@ class DebianViewBridge: self._width = screen_width self._height = screen_heigth - def _map_to_install(self, pkgs: Optional[Collection[DebianPackage]]) -> Optional[Tuple[List[InputOption], str, str]]: + @staticmethod + def _map_to_install(pkgs: Optional[Collection[DebianPackage]]) -> Optional[Tuple[List[InputOption], str, str]]: if pkgs: download_size, install_size = 0, 0