Merge branch 'py3' of bitbucket.org:ronnyabraham/fabric into py3

This commit is contained in:
Ronny Abraham 2019-04-11 01:51:39 +03:00
commit 9ba3f7d83a

View file

@ -829,10 +829,15 @@ def fixtures(appname=None, backup=False):
if configuration.project.host == 'localhost': if configuration.project.host == 'localhost':
p = re.compile("\[localhost\] out:") p = re.compile("\[localhost\] out:")
for match in p.finditer(output): for match in p.finditer(output):
pass pass
pos = match.end()
output = output[pos:] try:
pos = match.end()
output = output[pos:]
except:
pass
# now find the first occurence of [ on a newline, e.g. # now find the first occurence of [ on a newline, e.g.
# [ # [