gc old athena and uploader migration code

This commit is contained in:
Adeeb Shihadeh
2026-07-19 14:55:42 -07:00
parent e124d6df9b
commit d9596fa998
2 changed files with 1 additions and 7 deletions
-4
View File
@@ -488,10 +488,6 @@ def setRouteViewed(route: str) -> dict[str, int | str]:
def startLocalProxy(global_end_event: threading.Event, remote_ws_uri: str, local_port: int) -> dict[str, int]:
try:
# migration, can be removed once 0.9.8 is out for a while
if local_port == 8022:
local_port = 22
if local_port not in LOCAL_PORT_WHITELIST:
raise Exception("Requested local port not whitelisted")
+1 -3
View File
@@ -46,9 +46,7 @@ class FakeResponse:
def get_directory_sort(d: str) -> list[str]:
# ensure old format is sorted sooner
o = ["0", ] if d.startswith("2024-") else ["1", ]
return o + [s.rjust(10, '0') for s in d.rsplit('--', 1)]
return [s.rjust(10, '0') for s in d.rsplit('--', 1)]
def listdir_by_creation(d: str) -> list[str]:
if not os.path.isdir(d):