Skip to content

Commit

Permalink
Made the local() operation print out what it's doing.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvest committed Jan 29, 2008
1 parent a68dd26 commit 45c4183
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fabric.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ def local(cmd, **kvargs):
"""
final_cmd = _lazy_format(cmd)
print("[localhost] run: " + final_cmd)
retcode = subprocess.call(final_cmd, shell=True)
if retcode != 0:
failcode = _get_failcode(kvargs)
Expand Down

0 comments on commit 45c4183

Please sign in to comment.