astropy/astropy — pull request #2991 by astrofrog (2014-09-29 06:39:05+00:00)
Title: Don’t use deprecated luminosity_distance function

@eteq @nhmc @aconley - this ensures that the deprecated ``luminosity_distance`` function doesn't get used, and instead the appropriate method is used. Does this look right?