Skip to content

Commit

Permalink
Formatting tweaks re #651
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed May 23, 2012
1 parent a47c5ca commit 139d591
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fabric/context_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
.. note:: If you are using multiple directly nested ``with`` statements, it can
be convenient to use multiple context expressions in one single with
statement. Instead of writing
statement. Instead of writing::
with cd('/path/to/app'):
with prefix('workon myvenv'):
run('./manage.py syncdb')
run('./manage.py loaddata myfixture')
you can write
you can write::
with cd('/path/to/app'), prefix('workon myvenv'):
run('./manage.py syncdb')
run('./manage.py loaddata myfixture')
. Note that you need Python 2.6+ for this to work.
Note that you need Python 2.6+ for this to work.
"""

from contextlib import contextmanager, nested
Expand Down

0 comments on commit 139d591

Please sign in to comment.