diff options
author | 2016-10-10 17:11:20 -0400 | |
---|---|---|
committer | 2016-11-11 10:43:32 -0500 | |
commit | e8b6d6debe2b056b404fc353f54b67364b58c59d (patch) | |
tree | 759d2a9c2794c6cbc223c251e30520c3d573a4c5 /build/python-congressclient.diff | |
parent | 4e2424a3802fc541a9b21ad53981b4725ed70320 (diff) |
Migrate to stable/newton
os-odl_l2_nofeature is now deprecated since new netvirt only supports
odl_l3.
JIRA: APEX-299
Change-Id: I3557ecb85fa4cd11bba96aa9410e56a8e8cceb00
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build/python-congressclient.diff')
-rw-r--r-- | build/python-congressclient.diff | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/build/python-congressclient.diff b/build/python-congressclient.diff deleted file mode 100644 index 82e76e07..00000000 --- a/build/python-congressclient.diff +++ /dev/null @@ -1,25 +0,0 @@ -From 26d39efbb931e04a5e95d504c27ede12d0a81c43 Mon Sep 17 00:00:00 2001 -From: Masahito Muroi <muroi.masahito@lab.ntt.co.jp> -Date: Fri, 25 Mar 2016 14:06:00 +0900 -Subject: [PATCH] Allows DataSource's config field to have not dict type obj - -CongressClient expects all datasource driver has dict object in -config field. It raises an error when a datasource doesn't have -any config. - -This patch allows config fields to be None object. - -Change-Id: I73354f1073f3f814854652eaeaa4b3bbe4bfcf7d ---- - -diff --git a/congressclient/common/utils.py b/congressclient/common/utils.py -index 9a381e8..b5cedd4 100644 ---- a/congressclient/common/utils.py -+++ b/congressclient/common/utils.py -@@ -77,6 +77,8 @@ - :param data: a dict - :rtype: a string formatted to {a:b, c:d} - """ -+ if not isinstance(data, dict): -+ return str(data) - return str({str(key): str(value) for key, value in data.items()}) |