[Python-modules-commits] [python-pysolar] 03/04: Use print as function

Wolfgang Borgert debacle at moszumanska.debian.org
Sun Oct 11 00:26:40 UTC 2015


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

debacle pushed a commit to branch master
in repository python-pysolar.

commit de9ba16836f3468190e9d38fd4d9ad858fe40aba
Author: W. Martin Borgert <debacle at debian.org>
Date:   Sun Oct 11 02:23:21 2015 +0200

    Use print as function
    
    Origin: vendor
    Last-Update: 2014-10-03
---
 Pysolar/rest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Pysolar/rest.py b/Pysolar/rest.py
index d08efb5..f64338e 100644
--- a/Pysolar/rest.py
+++ b/Pysolar/rest.py
@@ -36,7 +36,7 @@ def GetAerosolForwardScatteranceFactor(altitude_deg):
 def GetAerosolOpticalDepth(turbidity_beta, effective_wavelength, turbidity_alpha):
 	# returns tau_a
 	print("effective_wavelength: ")
-	print effective_wavelength
+	print(effective_wavelength)
 	return turbidity_beta * effective_wavelength ** -turbidity_alpha
 
 def GetAerosolScatteringCorrectionFactor(band, ma, tau_a):

-- 
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