[python-fabio] 14/73: patch to stay python2.5 compliant
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Tue Jan 5 11:34:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to branch master
in repository python-fabio.
commit a36f612f725400c4d5904c29653ce4b56de50bf2
Author: Jerome Kieffer <jerome.kieffer at terre-adelie.org>
Date: Tue Oct 29 20:14:23 2013 +0100
patch to stay python2.5 compliant
---
fabio-src/binaryimage.py | 2 +-
fabio-src/templateimage.py | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fabio-src/binaryimage.py b/fabio-src/binaryimage.py
index fdee49b..83b41b4 100644
--- a/fabio-src/binaryimage.py
+++ b/fabio-src/binaryimage.py
@@ -2,7 +2,7 @@
# coding: utf8
# Get ready for python3:
-from __future__ import with_statement, print_function
+from __future__ import with_statement
__doc__ = """
Authors: Gael Goret, Jerome Kieffer, ESRF, France
Emails: gael.goret at esrf.fr, jerome.kieffer at esrf.fr
diff --git a/fabio-src/templateimage.py b/fabio-src/templateimage.py
index c6dda06..99e38c1 100644
--- a/fabio-src/templateimage.py
+++ b/fabio-src/templateimage.py
@@ -34,7 +34,7 @@
# their data into another format
# Get ready for python3:
-from __future__ import with_statement, print_function
+from __future__ import with_statement
__doc__ = """
Template for FabIO
@@ -72,8 +72,8 @@ class templateimage(fabioimage):
def _readheader(self, infile):
"""
Read and decode the header of an image:
-
- @param infile: Opened python file (can be stringIO or bipped file)
+
+ @param infile: Opened python file (can be stringIO or bipped file)
"""
#list of header key to keep the order (when writing)
self.header = {}
@@ -82,9 +82,9 @@ class templateimage(fabioimage):
def read(self, fname, frame=None):
"""
- try to read image
+ try to read image
@param fname: name of the file
- @param frame:
+ @param frame:
"""
self.resetvals()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-fabio.git
More information about the debian-science-commits
mailing list