Commit 24b11971 authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

bug fixed

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:
SVN Revision: 4373
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent e1f07540
...@@ -161,7 +161,7 @@ def main(argv=None): ...@@ -161,7 +161,7 @@ def main(argv=None):
followLinks = True followLinks = True
elif opt in ("-t", "--target"): elif opt in ("-t", "--target"):
targetSet = True targetSet = True
targetDirectory = arg targetDirectory = arg.rstrip(os.sep)+os.sep
elif opt in ("-l", "--logging"): elif opt in ("-l", "--logging"):
logger.configure() logger.configure()
elif opt in ("--hash",): elif opt in ("--hash",):
...@@ -214,7 +214,7 @@ def main(argv=None): ...@@ -214,7 +214,7 @@ def main(argv=None):
err.display() err.display()
return 2 return 2
except csfile.CsFileError as err: except csfile.CsFileError as err:
logger.getLogger().error("%s", err.msg) logger.getLogger().error("{0}".format(err.msg))
err.display() err.display()
return 2 return 2
else: else:
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