Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

chef.fabric (and probably other places) are missing from __future__ import absolute_import #55

Open
Julian opened this issue Apr 22, 2016 · 0 comments

Comments

@Julian
Copy link

Julian commented Apr 22, 2016

It looks like these were dropped in 0.3.0, but that breaks lots of things -- e.g. chef_environment no longer works (in fabfiles that define their own non-legacy tasks) because there's a try/except on from fabric.api import env, task, roles, output, which will raise an ImportError because fabric will be chef.fabric, and then the except block then has task being a passthrough, but that doesn't work, fabric will ignore legacy tasks if a fabfile defines its own. I'd guess the behavior of that try/except might be worth changing on its own too, but apologies if I've missed anything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant