Explorar o código

Syntax err fix

Enis Afgan %!s(int64=10) %!d(string=hai) anos
pai
achega
18a589a485
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cloudbridge/providers/interfaces.py

+ 1 - 1
cloudbridge/providers/interfaces.py

@@ -29,7 +29,7 @@ class CloudProviderFactory():
                         return None
                 else:
                     # Return latest available version
-                    return sorted((for item in provider["implementation"]), key=lambda x: x["version"])[-1]
+                    return sorted((item for item in provider["implementation"]), key=lambda x: x["version"])[-1]
         return None
 
     def get_interface_V1(self, name, config):