-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformatters.py
More file actions
executable file
·27 lines (23 loc) · 1023 Bytes
/
Copy pathformatters.py
File metadata and controls
executable file
·27 lines (23 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
##############################################################################
# Removal of the "__license__" line or content from "__license__", or removal
# of "__author__" in this or any constituent # component or file constitutes a
# violation of the licensing and copyright agreement.
__author__ = "Mike Rightmire"
__copyright__ = "BioCom Software"
__license__ = "Telemend"
__license_file__= "Clause1.PERPETUAL_AND_UNLIMITED_LICENSING_TO_THE_CLIENT.py"
__version__ = "0.9.6.0"
__maintainer__ = "Mike Rightmire"
__email__ = "Mike.Rightmire@BiocomSoftware.com"
__status__ = "Development"
##############################################################################
from BiocomCommon.loghandler import log
def _format_original_error(e):
return "".join([str(e), ". "])
# return "".join(["[Original error: ", str(e), "]"])
def _log_error(message, e):
# Format message
e = "".join([str(_format_original_error(e)), message])
# Send to log
log.error(e)
return