astropy/astropy — pull request #1463 by astrodsg (2013-09-17 17:28:17+00:00)
Title: Bug fix for attribute lattyp

The code on lines 814 and 784 had attribute self.wcs.lattype which raised an AttributeError. The class in question has attribute

astropy.wcs.Wcsprm.lattyp

So I edited those two to reflect the variable name