[ecflow] 44/50: more py3
Alastair McKinstry
mckinstry at moszumanska.debian.org
Wed Sep 20 15:30:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository ecflow.
commit 438350a5b6c643d33278eab198d08e9cbed04d27
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon Jul 17 13:51:24 2017 +0100
more py3
---
debian/patches/python3.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/debian/patches/python3.patch b/debian/patches/python3.patch
index 991f6ec..6c76b4e 100644
--- a/debian/patches/python3.patch
+++ b/debian/patches/python3.patch
@@ -285,6 +285,18 @@ Index: ecflow-4.6.1/Pyext/samples/api/sms2ecf.py
if name in ('ECF_CMD_CMD', 'ECF_KILL_CMD', 'ECF_STATUS_CMD'):
value2 = value.replace('ECF_', 'SMS')
transl = DICT_ECF_SMS[name]
+@@ -161,9 +161,9 @@ def sms2ecf(orig, dest):
+ for key in ignored:
+ if " %s " % key in line:
+ continue
+- print >> fop, line
++ print (line, file=fop)
+ except:
+- print "oops"
++ print ("oops")
+
+ def load(name, host="localhost", port=31415):
+ import ecflow as ec
Index: ecflow-4.6.1/Pyext/samples/api/ecf.py
===================================================================
--- ecflow-4.6.1.orig/Pyext/samples/api/ecf.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ecflow.git
More information about the debian-science-commits
mailing list