def get_plugin_object(self):
        """For the selected plugin, returns a tuple of the module name to
        import and the class name to construct in order to get a Camera
        object."""

        # Find the selected plugin
        plugin_id = self.cameras[self.camera_selection][0]
        # This should not fail, because only plugins which have all the requred
        # dependencies installed should be able to be selected
        try:
            return self.plugins[plugin_id].load()
        except __HOLE__:
            assert 0, ("A plugin was selected that didn't have all its " +
                "dependencies installed. This should not happen.")
dataset/ETHPy150Open ptomato/Beams/beams/CameraDialog.py/CameraDialog.get_plugin_object