[Python-modules-commits] [python-pysolar] 26/42: Fixed Py3 issue in constants

Wolfgang Borgert debacle at moszumanska.debian.org
Fri Oct 3 23:37:04 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag 0.6
in repository python-pysolar.

commit 6e715b7a48c742a7c555e93abe11b0734d8d1ddb
Author: Robin Wilson <robin at rtwilson.com>
Date:   Sat Apr 19 04:08:08 2014 +0100

    Fixed Py3 issue in constants
---
 Pysolar/constants.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Pysolar/constants.py b/Pysolar/constants.py
index 1bd0034..22658ee 100644
--- a/Pysolar/constants.py
+++ b/Pysolar/constants.py
@@ -40,8 +40,8 @@ See also ftp://ftp.imcce.fr/pub/ephem/planets/vsop87/VSOP87D.ear
 
 """
 
-def buildPolyFit(xxx_todo_changeme): 
-    (a, b, c, d) = xxx_todo_changeme
+def buildPolyFit(params): 
+    (a, b, c, d) = params
     return (lambda x: a + b * x + c * x ** 2 + (x ** 3) / d)
 
 def buildPolyDict():

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pysolar.git



More information about the Python-modules-commits mailing list