some changes to fixtures code
This commit is contained in:
parent
faa2bbb0c9
commit
a380f55dba
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
try:
|
||||||
pos = match.end()
|
pos = match.end()
|
||||||
output = output[pos:]
|
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.
|
||||||
# [
|
# [
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue