mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-13 21:42:18 +00:00
refactor: rename list_azurlane_packages to list_known_packages for clarity
This commit is contained in:
@@ -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}", '
|
||||
|
||||
Reference in New Issue
Block a user