Skip to content

Commit b14fa0c

Browse files
authored
Merge pull request #71 from NCAR/hua-work-common
self.self => self
2 parents 169c5fc + 37eeb8e commit b14fa0c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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 = "2.0.0"
7+
version = "2.0.1"
88
authors = [
99
{ name="Zaihua Ji", email="zji@ucar.edu" },
1010
]

src/rda_python_common/pg_dbi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self):
4343
self.TABLES = {} # record table field information
4444
self.SEQUENCES = {} # record table sequence fielnames
4545
self.SPECIALIST = {} # hash array refrences to specialist info of dsids
46-
self.self.SYSDOWN = {}
46+
self.SYSDOWN = {}
4747
self.PGDBI = {}
4848
self.ADDTBLS = []
4949
self.PGSIGNS = ['!', '<', '>', '<>']

src/rda_python_common/pg_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def send_python_email(self, subject = None, receiver = None, msg = None, sender
299299
if cc:
300300
emlmsg['Cc'] = cc
301301
logmsg += " Cc'd " + cc
302-
if not subject: subject = "Message from {}-{}".format(self.PGLOG['HOSTNAME'], self.self.get_command())
302+
if not subject: subject = "Message from {}-{}".format(self.PGLOG['HOSTNAME'], self.get_command())
303303
# if not re.search(r'!$', subject): subject += '!'
304304
emlmsg['Subject'] = subject
305305
if self.CPID['CPID']: logmsg += " in " + self.CPID['CPID']

0 commit comments

Comments
 (0)