Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rda_python_common"
version = "2.0.0"
version = "2.0.1"
authors = [
{ name="Zaihua Ji", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion src/rda_python_common/pg_dbi.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self):
self.TABLES = {} # record table field information
self.SEQUENCES = {} # record table sequence fielnames
self.SPECIALIST = {} # hash array refrences to specialist info of dsids
self.self.SYSDOWN = {}
self.SYSDOWN = {}
self.PGDBI = {}
self.ADDTBLS = []
self.PGSIGNS = ['!', '<', '>', '<>']
Expand Down
2 changes: 1 addition & 1 deletion src/rda_python_common/pg_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def send_python_email(self, subject = None, receiver = None, msg = None, sender
if cc:
emlmsg['Cc'] = cc
logmsg += " Cc'd " + cc
if not subject: subject = "Message from {}-{}".format(self.PGLOG['HOSTNAME'], self.self.get_command())
if not subject: subject = "Message from {}-{}".format(self.PGLOG['HOSTNAME'], self.get_command())
# if not re.search(r'!$', subject): subject += '!'
emlmsg['Subject'] = subject
if self.CPID['CPID']: logmsg += " in " + self.CPID['CPID']
Expand Down