mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[debian.gui] refactoring: static method
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user