refactor: rename list_azurlane_packages to list_known_packages for clarity

This commit is contained in:
2026-07-05 18:39:45 +08:00
parent cac19c10c3
commit 75b8b78b24
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -848,7 +848,7 @@ class Connection(ConnectionAttr):
packages = re.findall(r'package:([^\s]+)', output)
return packages
def list_azurlane_packages(self, show_log=True):
def list_known_packages(self, show_log=True):
"""
Args:
show_log:
@@ -865,7 +865,7 @@ class Connection(ConnectionAttr):
Show all possible packages with the given keyword on this device.
"""
logger.hr('Detect package')
packages = self.list_azurlane_packages()
packages = self.list_known_packages()
# Show packages
logger.info(f'Here are the available packages in device "{self.serial}", '