Fix typing of list of API versions

Contributes to issue CURA-7207.
This commit is contained in:
Ghostkeeper 2020-02-11 11:09:02 +01:00
parent 0c42b1fdea
commit ea9a9d58b1
No known key found for this signature in database
GPG key ID: 37E2020986774393

View file

@ -73,7 +73,7 @@ class SubscribedPackagesModel(ListModel):
self.setItems(self._items)
@staticmethod
def _isAnyVersionCompatible(package_manager: PackageManager, api_versions: [str]) -> bool:
def _isAnyVersionCompatible(package_manager: PackageManager, api_versions: List[str]) -> bool:
"""
Check a list of version numbers if any of them applies to our
application.