Add some spaces for better readability

This commit is contained in:
Joshua Boniface 2021-07-18 20:18:23 -04:00
parent ba257048ad
commit 55f2b00366
1 changed files with 2 additions and 0 deletions

View File

@ -1245,8 +1245,10 @@ def follow_console_log(config, vm, lines=10):
# Split the new and old log strings into constitutent lines
old_console_loglines = console_log.split('\n')
new_console_loglines = new_console_log.split('\n')
# Set the console log to the new log value for the next iteration
console_log = new_console_log
# Remove the lines from the old log until we hit the first line of the new log; this
# ensures that the old log is a string that we can remove from the new log entirely
for index, line in enumerate(old_console_loglines, start=0):