mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix mypy's complaints
This commit is contained in:
@@ -35,9 +35,10 @@ def weapons_migrator_lib(name: str) -> str:
|
||||
# Splitting this from our own migrations
|
||||
if "KH" in name:
|
||||
return "Kh" + name[2:]
|
||||
migration_map = {}
|
||||
while name in migration_map:
|
||||
name = migration_map[name]
|
||||
# UNCOMMENT BELOW WHEN IT BECOMES APPLICABLE
|
||||
# migration_map = {}
|
||||
# while name in migration_map:
|
||||
# name = migration_map[name]
|
||||
return name
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user