Fixed another error in a log message format

This commit is contained in:
Anton Beloglazov 2012-11-14 16:25:03 +11:00
parent 7e58576d0c
commit 8b9594f689

View File

@ -592,9 +592,9 @@ def get_cpu_mhz(vir_connection, physical_core_mhz, previous_cpu_time,
if log.isEnabledFor(logging.DEBUG):
log.debug('VM %s: current_cpu_time < cpu_time: ' +
'previous CPU time %d, ' +
'current CPU time %d, ',
'current CPU time %d',
uuid, cpu_time, current_cpu_time)
log.debug('VM %s: using previous CPU MHz %d, ' +
log.debug('VM %s: using previous CPU MHz %d',
uuid, previous_cpu_mhz[uuid])
cpu_mhz[uuid] = previous_cpu_mhz[uuid]
else: