[Python-modules-commits] [python-pysolar] 04/05: Add patch to use print as function.
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Oct 4 01:35:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-pysolar.
commit de44ff18b8399c0a6ac24ae2c22a11fb99f3e50e
Author: W. Martin Borgert <debacle at debian.org>
Date: Sat Oct 4 02:39:42 2014 +0200
Add patch to use print as function.
---
debian/patches/1000_printfunc.diff | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/1000_printfunc.diff b/debian/patches/1000_printfunc.diff
new file mode 100644
index 0000000..96a1a7b
--- /dev/null
+++ b/debian/patches/1000_printfunc.diff
@@ -0,0 +1,17 @@
+Description: Use print as function
+Author: W. Martin Borgert <debacle at debian.org>
+Origin: vendor
+Last-Update: 2014-10-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Pysolar/rest.py
++++ b/Pysolar/rest.py
+@@ -36,7 +36,7 @@
+ 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):
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..417a3b9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1000_printfunc.diff
--
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