Skip to content
Snippets Groups Projects
Verified Commit d7a70763 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix deprecation

parent d1e24c6c
No related branches found
No related tags found
No related merge requests found
Pipeline #26627 passed
......@@ -44,7 +44,7 @@ class MSGDumper(Module):
current_date = current_date_str()
if self.current_date != current_date:
archived_name = "{}_{}.log".format(self.prefix, self.current_date)
self.print("Cycling the log file: {} -> {}".format(
self.cprint("Cycling the log file: {} -> {}".format(
self.filename, archived_name))
copyfile(self.filepath, os.path.join(self.path, archived_name))
self.fobj.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment