Revision 3139b628 snf-tools/synnefo_tools/burnin/logger.py
b/snf-tools/synnefo_tools/burnin/logger.py | ||
---|---|---|
148 | 148 |
# We will add our message in this location |
149 | 149 |
for (index, obj) in enumerate(sect_locs): |
150 | 150 |
if section in contents[obj]: |
151 |
return sect_locs[index+1] - 3
|
|
151 |
return sect_locs[index + 1] - 3
|
|
152 | 152 |
|
153 | 153 |
# We didn't find our section?? |
154 | 154 |
sys.stderr.write("Section %s could not be found in logging file\n" |
Also available in: Unified diff