aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/products.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-21 10:39:27 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-21 10:39:27 +0800
commit0ed741c4f3db7e4aee3603e051fdd4bc97f1b2de (patch)
tree59e177ebaac4ad9e8a86edfdbefd2c03e4d2501c /fg21sim/products.py
parente5bb40f8039d7a831568f54fb839fea1870d9099 (diff)
downloadfg21sim-0ed741c4f3db7e4aee3603e051fdd4bc97f1b2de.tar.bz2
Add logging message on backing up old file
Diffstat (limited to 'fg21sim/products.py')
-rw-r--r--fg21sim/products.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/products.py b/fg21sim/products.py
index 6ffc542..454ff13 100644
--- a/fg21sim/products.py
+++ b/fg21sim/products.py
@@ -275,6 +275,7 @@ class Products:
# Make a backup with suffix ``.old``
backfile = outfile + ".old"
shutil.copyfile(outfile, backfile)
+ logger.info("Backed up old manifest file as: " + backfile)
else:
raise OSError("File already exists: {0}".format(outfile))
#