astropy/astropy — pull request #2445 by nden (2014-05-06 12:25:22+00:00)
Title: fix for deprecated self.naxis1/2

WCS.naxis1/2 were deprecated but are still used in `printwcs()`. This provides a simple fix for now.
If I get some time today I will try to rewrite this method and make it a bit more general. Will also add a test.
But if not I'd like to merge this today because it breaks our internal software.