From 61952c07c80dccc54670e42d1193fc980c89988a Mon Sep 17 00:00:00 2001 From: Garry Bodsworth Date: Tue, 12 Dec 2017 12:44:09 +0000 Subject: [PATCH] Fix for failing Fabric import in integration. The fabric.api import fails in fabric.py as there is a name clash unless you use absolute imports (which is the default in Python 3). As the ImportError catches and doesn't warn nobody could see the module fabric.api failing to import. --- chef/fabric.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chef/fabric.py b/chef/fabric.py index 8d49e25..f1f33e7 100644 --- a/chef/fabric.py +++ b/chef/fabric.py @@ -1,3 +1,6 @@ + +from __future__ import absolute_import + import six import functools