Fix some incompatibility with Python 2.5 introduced in 05d4cf6d (r2255 in SVN)
Fix some incompatibility with Python 2.5 introduced in 05d4cf6d (r2255 in SVN)

git-svn-id: 5305e2c1a78737cf7dd5f8f44e9bbbd00348fde7@2266 ed100bfc-0583-0410-97f2-c26b58777a21

embray/PyFITS,embray/PyFITS,spacetelescope/PyFITS,embray/PyFITS,embray/PyFITS,spacetelescope/PyFITS