[debian.gui] refactoring: static method

This commit is contained in:
Vinicius Moreira
2022-04-07 15:16:56 -03:00
parent 8a776d7efc
commit d9384d74a2

View File

@@ -17,7 +17,8 @@ class DebianViewBridge:
self._width = screen_width self._width = screen_width
self._height = screen_heigth 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: if pkgs:
download_size, install_size = 0, 0 download_size, install_size = 0, 0