Commits

Rodrigo Bistolfi committed 52cd93d

Return tuple from mountpoints.process()

  • Participants
  • Parent commits bd2f4e0

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