Fixed 'return EOFError' that should be 'raise EOFError', caught by
Skip Montanaro's return-value patches.
diff --git a/Lib/gzip.py b/Lib/gzip.py
index 578a07b..c0aff91 100644
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -182,7 +182,7 @@
             self.fileobj.seek(0, 2)     # Seek to end of file
             if pos == self.fileobj.tell():
                 self.fileobj = None
-                return EOFError, "Reached EOF"
+                raise EOFError, "Reached EOF"
             else: 
                 self.fileobj.seek( pos ) # Return to original position