Skip to content

Commit bedf9f1

Browse files
authored
Merge pull request #58 from NCAR/tcram-patch-1
PgLOG: remove exclamation point from email subject
2 parents 543b881 + 7ac9e63 commit bedf9f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "rda_python_common"
7-
version = "1.0.47"
7+
version = "1.0.48"
88
authors = [
99
{ name="Zaihua Ji", email="zji@ucar.edu" },
1010
]

src/rda_python_common/PgLOG.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def send_python_email(subject = None, receiver = None, msg = None, sender = None
335335
emlmsg['Cc'] = cc
336336
logmsg += " Cc'd " + cc
337337
if not subject: subject = "Message from {}-{}".format(PGLOG['HOSTNAME'], get_command())
338-
if not re.search(r'!$', subject): subject += '!'
338+
# if not re.search(r'!$', subject): subject += '!'
339339
emlmsg['Subject'] = subject
340340
if CPID['CPID']: logmsg += " in " + CPID['CPID']
341341
logmsg += ", Subject: {}\n".format(subject)

0 commit comments

Comments
 (0)