From 3703916e558624e383794b015b8f8e69422654c1 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 3 Feb 2017 08:21:33 +0000 Subject: server: fix in-policy bug When a path is rejected by in-policy, the prefix must be withdrawn since it might already exist in the rib. Signed-off-by: ISHIDA Wataru --- test/lib/base.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/lib/base.py') diff --git a/test/lib/base.py b/test/lib/base.py index 10b50b46..8e2c5f22 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -17,8 +17,10 @@ from fabric.api import local, lcd from fabric import colors from fabric.utils import indent from fabric.state import env, output -from docker import Client - +try: + from docker import Client +except ImportError: + from docker import APIClient as Client import netaddr import os import time -- cgit v1.2.3