Last active
July 15, 2016 14:07
-
-
Save bmacauley/4452480 to your computer and use it in GitHub Desktop.
fabric...local() bug?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# not working | |
def svn_commit(): | |
"""commit any changes to svn""" | |
mod = local('svn st -q',capture=True) | |
if mod != '': | |
print "Modified:" | |
print mod | |
#working | |
def svn_commit(): | |
"""commit any changes to svn""" | |
mod = local('svn st -q 2>&1',capture=True) | |
if mod != '': | |
print "Modified:" | |
print mod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment