mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 23:08:34 +03:00
pySim-shell: alphabetically sort name of files in 'dir' command
Change-Id: Id136909884d3c0eaa2416c6c488a6c4b7ed48119
This commit is contained in:
@@ -172,7 +172,9 @@ class CardFile(object):
|
|||||||
list containing all selectable names.
|
list containing all selectable names.
|
||||||
"""
|
"""
|
||||||
sels = self.get_selectables(flags)
|
sels = self.get_selectables(flags)
|
||||||
return list(sels.keys())
|
sel_keys = list(sels.keys())
|
||||||
|
sel_keys.sort()
|
||||||
|
return sel_keys
|
||||||
|
|
||||||
def decode_select_response(self, data_hex:str):
|
def decode_select_response(self, data_hex:str):
|
||||||
"""Decode the response to a SELECT command.
|
"""Decode the response to a SELECT command.
|
||||||
|
|||||||
Reference in New Issue
Block a user