The crew from the space shuttle Atlantis has completed repairs on the Hubble Space Telescope after a seven-hour spacewalk.