summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>2019-10-24 20:57:52 +0200
committerPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>2019-10-24 20:57:52 +0200
commit9dc04fc781812ca6c0883bb3f167e1b576ec8df9 (patch)
treee56a17127ddf41307172b94ae83ddb9fc31f083c
parent77cc0d951f13faa0a572e281c6f1cd142622b6c6 (diff)
remove useless patch
-rw-r--r--debian/patches/0002-fix-syntax-error.patch31
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 32 deletions
diff --git a/debian/patches/0002-fix-syntax-error.patch b/debian/patches/0002-fix-syntax-error.patch
deleted file mode 100644
index 3665dcf..0000000
--- a/debian/patches/0002-fix-syntax-error.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?=
- <picca@synchrotron-soleil.fr>
-Date: Sun, 6 Oct 2019 10:02:57 +0200
-Subject: fix syntax error
-
----
- PyMca5/Object3D/Object3DPlugins/ChimeraStack.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/PyMca5/Object3D/Object3DPlugins/ChimeraStack.py b/PyMca5/Object3D/Object3DPlugins/ChimeraStack.py
-index 4df3aa1..f731630 100644
---- a/PyMca5/Object3D/Object3DPlugins/ChimeraStack.py
-+++ b/PyMca5/Object3D/Object3DPlugins/ChimeraStack.py
-@@ -69,7 +69,7 @@ def getObject3DInstance(config=None):
- #file index is irrelevant in case of an actual 3D stack.
- filename = fileList[0]
- legend = os.path.basename(filename)
-- with h5py.File(filename, mode='r') as f
-+ with h5py.File(filename, mode='r') as f:
- stack = f['Image']['data'][()]
- if stack is None:
- raise IOError("Problem reading stack.")
-@@ -120,7 +120,7 @@ if __name__ == "__main__":
- if not os.path.exists(filename):
- print("File does not exists")
- sys.exit(1)
-- with h5py.File(filename, mode='r') as f
-+ with h5py.File(filename, mode='r') as f:
- stack = f['Image']['data'][()]
- if stack is None:
- raise IOError("Problem reading stack.")
diff --git a/debian/patches/series b/debian/patches/series
index 4521bb8..3b1761d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
0002-use-the-local-mathjax.patch
-0002-fix-syntax-error.patch