Commit 0519eb57 authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

use warning log level for files which are corrupt

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5225
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent a0d2a33d
......@@ -42,6 +42,8 @@
# 15/03/2013 V1.1 introduced additional [-o|--rsync-opts ARG] flags
# 16/03/2013 V1.1.1 corrected python specific issue
# 19/03/2013 V1.2 avoid creating excluded directories
# 09/09/2013 V1.2.1 warning log level for files which have no integrity
# anymore
#
# ============================================================================
#
......@@ -58,7 +60,7 @@ import csbackErrorCodes as eCodes
import csbacklog
import pidlock
__version__ = "V1.2"
__version__ = "V1.2.1"
__subversion__ = "$Id$"
__license__ = "GPLv2+"
__author__ = "Daniel Armbruster"
......@@ -348,7 +350,7 @@ def main(argv=None):
logger.getLogger().debug( \
"Check of file '{0}' was successful.".format(dataFilePath))
else:
logger.getLogger().debug( \
logger.getLogger().warning( \
"File '{0}' has no integrity anymore and won't be copied.". \
format(dataFilePath))
except csf.CsFileError as err:
......
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