Minor code simplification
Minor code simplification

funbaker/astropy,StuartLittlefair/astropy,DougBurke/astropy,stargaser/astropy,joergdietrich/astropy,funbaker/astropy,bsipocz/astropy,lpsinger/astropy,larrybradley/astropy,lpsinger/astropy,MSeifert04/astropy,larrybradley/astropy,DougBurke/astropy,astropy/astropy,tbabej/astropy,joergdietrich/astropy,MSeifert04/astropy,joergdietrich/astropy,saimn/astropy,DougBurke/astropy,kelle/astropy,larrybradley/astropy,AustereCuriosity/astropy,saimn/astropy,kelle/astropy,mhvk/astropy,lpsinger/astropy,funbaker/astropy,lpsinger/astropy,tbabej/astropy,pllim/astropy,tbabej/astropy,saimn/astropy,saimn/astropy,stargaser/astropy,astropy/astropy,mhvk/astropy,mhvk/astropy,larrybradley/astropy,tbabej/astropy,saimn/astropy,pllim/astropy,stargaser/astropy,joergdietrich/astropy,astropy/astropy,StuartLittlefair/astropy,aleksandr-bakanov/astropy,DougBurke/astropy,aleksandr-bakanov/astropy,dhomeier/astropy,joergdietrich/astropy,aleksandr-bakanov/astropy,bsipocz/astropy,StuartLittlefair/astropy,dhomeier/astropy,bsipocz/astropy,AustereCuriosity/astropy,AustereCuriosity/astropy,dhomeier/astropy,stargaser/astropy,pllim/astropy,funbaker/astropy,astropy/astropy,kelle/astropy,kelle/astropy,MSeifert04/astropy,StuartLittlefair/astropy,AustereCuriosity/astropy,lpsinger/astropy,mhvk/astropy,AustereCuriosity/astropy,MSeifert04/astropy,dhomeier/astropy,bsipocz/astropy,larrybradley/astropy,astropy/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,tbabej/astropy,kelle/astropy,dhomeier/astropy,pllim/astropy,pllim/astropy,mhvk/astropy