diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2018-06-05 09:47:35 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-06-05 12:01:05 -0400 |
commit | d4c5cd1d939ac9bc8f4e2065e5afa83b1fa00418 (patch) | |
tree | 00a71160f4ee549b5387c9e7d545e1b9edccbe1d /recipes-networking/openvswitch/openvswitch-git/0003-Python3-compatibility-execfile-to-exec.patch | |
parent | 343b40ba0d44caeb22013a1586ae2159e415bd4c (diff) | |
download | meta-virtualization-d4c5cd1d939ac9bc8f4e2065e5afa83b1fa00418.tar.gz |
openvswitch: remove unused patches
commit 1fd1ff372014 [openvswitch: uprev to v2.9.2] left a bunch of
unused patches in place. Remove unreferenced patches as they are no
longer needed.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/0003-Python3-compatibility-execfile-to-exec.patch')
-rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/0003-Python3-compatibility-execfile-to-exec.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/0003-Python3-compatibility-execfile-to-exec.patch b/recipes-networking/openvswitch/openvswitch-git/0003-Python3-compatibility-execfile-to-exec.patch deleted file mode 100644 index 98d77c8a..00000000 --- a/recipes-networking/openvswitch/openvswitch-git/0003-Python3-compatibility-execfile-to-exec.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 8557d51e8c7325a17219911e9a65eeb3946e869f Mon Sep 17 00:00:00 2001 | ||
2 | From: Jason Wessel <jason.wessel@windriver.com> | ||
3 | Date: Thu, 29 Jun 2017 20:33:23 -0700 | ||
4 | Subject: [PATCH] Python3 compatibility: execfile to exec | ||
5 | |||
6 | Commit a4d10a7ca937d73873f6f98619d88682e69f5dbe from | ||
7 | https://github.com/openvswitch/ovs.git | ||
8 | |||
9 | Allow compability with python3 and python2 by changing execfile() to | ||
10 | exec(). | ||
11 | |||
12 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | ||
13 | Signed-off-by: Ben Pfaff <blp@ovn.org> | ||
14 | |||
15 | --- | ||
16 | ovsdb/ovsdb-idlc.in | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in | ||
20 | index e7e1c6b..e1551f9 100755 | ||
21 | --- a/ovsdb/ovsdb-idlc.in | ||
22 | +++ b/ovsdb/ovsdb-idlc.in | ||
23 | @@ -17,7 +17,7 @@ def parseSchema(filename): | ||
24 | |||
25 | def annotateSchema(schemaFile, annotationFile): | ||
26 | schemaJson = ovs.json.from_file(schemaFile) | ||
27 | - execfile(annotationFile, globals(), {"s": schemaJson}) | ||
28 | + exec(compile(open(annotationFile, "rb").read(), annotationFile, 'exec'), globals(), {"s": schemaJson}) | ||
29 | ovs.json.to_stream(schemaJson, sys.stdout) | ||
30 | sys.stdout.write('\n') | ||
31 | |||