Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add shell_env to fabric.api, fixes #792

  • Loading branch information...
commit a026664c066b29438e3dd9da35df8539ee2c3904 1 parent 4daad29
@bitprophet bitprophet authored
Showing with 4 additions and 1 deletion.
  1. +3 −0  docs/changelog.rst
  2. +1 −1  fabric/api.py
View
3  docs/changelog.rst
@@ -25,6 +25,9 @@ would have also been included in the 1.2 line.
Changelog
=========
+* :bug:`792` The newish `~fabric.context_managers.shell_env` context manager
+ was incorrectly omitted from the ``fabric.api`` import endpoint. This has
+ been remedied. Thanks to Vishal Rana for the catch.
* :bug:`775` Shell escaping was incorrectly applied to the value of ``$PATH``
updates in our shell environment handling, causing (at the very least)
`~fabric.operations.local` binary paths to become inoperable in certain
View
2  fabric/api.py
@@ -7,7 +7,7 @@
well when you're using setup.py to install e.g. ssh!
"""
from fabric.context_managers import (cd, hide, settings, show, path, prefix,
- lcd, quiet, warn_only)
+ lcd, quiet, warn_only, shell_env)
from fabric.decorators import (hosts, roles, runs_once, with_settings, task,
serial, parallel)
from fabric.operations import (require, prompt, put, get, run, sudo, local,
Please sign in to comment.
Something went wrong with that request. Please try again.