Commits

Rodrigo Bistolfi  committed bd2f4e0

Fix generator in mountpoints.py

  • Participants
  • Parent commits 9e12c67

Comments (0)

Files changed (1)

File vinstall/controller/mountpoints.py

         """Save root partition selection for use in other controllers
 
         """
-        root, fs = next(p, m[1] for p, m in data.items() if m[0] == "/")
+        root, fs = next((p, m[1] for p, m in data.items() if m[0] == "/"))
         self.config["target_device"] = root
         self.config["target_device_fs"] = fs