Commit ad24f3f0 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2380] added final '\n' to progress report on succesful completion.

parent fbd4c46f
......@@ -241,6 +241,12 @@ class LoadZoneRunner:
if self.__interrupted:
raise LoadFailure('loading interrupted by signal')
# On successfully completion, add final '\n' to the progress
# report output (on failure don't bother to make it prettier).
if (self._report_interval > 0 and
self.__loaded_rrs >= self._report_interval):
except Exception as ex:
# release any remaining lock held in the client/loader
loader, datasrc_client = None, None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment