rda-python-common 1.0.49__py3-none-any.whl → 1.0.50__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rda-python-common might be problematic. Click here for more details.

@@ -1683,9 +1683,16 @@ def send_request_email_notice(pgrqst, errmsg, fcount, rstat, readyfile = None, p
1683
1683
 
1684
1684
  for ekey in einfo:
1685
1685
  if ekey == 'CCD' and not einfo['CCD']:
1686
- ebuf = re.sub(r'Cc:\s*<CCD>\s*', '', ebuf)
1686
+ mp = r'Cc:\s*<CCD>\s*'
1687
+ rep = ''
1687
1688
  else:
1688
- ebuf = re.sub(r'<{}>'.format(ekey), einfo[ekey], ebuf)
1689
+ mp = r'<{}>'.format(ekey)
1690
+ rep = einfo[ekey]
1691
+ if rep is None:
1692
+ PgLOG.pglog("{}.{}: None ekey value for reuqest email".format(pgrqst['rindex'], ekey),
1693
+ PGOPT['wrnlog']|PgLOG.FRCLOG)
1694
+ rep = ''
1695
+ ebuf = re.sub(mp, rep, ebuf)
1689
1696
 
1690
1697
  if PgLOG.PGLOG['DSCHECK'] and not pgpart:
1691
1698
  tbl = "dscheck"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_common
3
- Version: 1.0.49
3
+ Version: 1.0.50
4
4
  Summary: RDA Python common library codes shared by other RDA python packages
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-common
@@ -3,13 +3,13 @@ rda_python_common/PgDBI.py,sha256=nAov-B-B9XZ7p7rX1ZU4TcjAItSXVq18yD0Xe80TkwY,74
3
3
  rda_python_common/PgFile.py,sha256=obl9Pj3yFnjrOJUTFiEHK7ZbG2Ic_m3dT0NqO7rGvOs,99370
4
4
  rda_python_common/PgLOG.py,sha256=RLcsUzHjPqkaoT_jJStG6PoUJzUe5i3NJ8T_bmFhAZA,55387
5
5
  rda_python_common/PgLock.py,sha256=12i84nsGBuifSyPnm8IR63LvHvRuVU573D5QKFlHdOI,22623
6
- rda_python_common/PgOPT.py,sha256=7eqERFMz2gkKIgHucjwxgBFE9mQ_mUsy_OlUqHyAHrw,56014
6
+ rda_python_common/PgOPT.py,sha256=Kn4JYezZhZwAn2usiIYHoHiymGHRgsN299dxyXbKwkI,56244
7
7
  rda_python_common/PgSIG.py,sha256=t0yF2vnLgb6TKEBwIp7pEemvp-N29tjkLMoPETKgiZo,35797
8
8
  rda_python_common/PgSplit.py,sha256=QKPbF55m8KCTGmwVwL3uG_nuylCC4FSVfLuXeLjJHbE,8816
9
9
  rda_python_common/PgUtil.py,sha256=OqESKCd72b9g8m8jwjPJhXDtPYlW6G8oSOhwChvz2Cg,48600
10
10
  rda_python_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- rda_python_common-1.0.49.dist-info/licenses/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
12
- rda_python_common-1.0.49.dist-info/METADATA,sha256=buXrFXMfaOMJ0eOCoJfNPzDLtVCPYinPU5F2uMn9avo,716
13
- rda_python_common-1.0.49.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
- rda_python_common-1.0.49.dist-info/top_level.txt,sha256=KVQmx7D3DD-jsiheqL8HdTrRE14hpRnZY5_ioMArA5k,18
15
- rda_python_common-1.0.49.dist-info/RECORD,,
11
+ rda_python_common-1.0.50.dist-info/licenses/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
12
+ rda_python_common-1.0.50.dist-info/METADATA,sha256=3yeMYTTJQWxiUsWqL9tO3UqR68okr8f2aezIV74phJM,716
13
+ rda_python_common-1.0.50.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
+ rda_python_common-1.0.50.dist-info/top_level.txt,sha256=KVQmx7D3DD-jsiheqL8HdTrRE14hpRnZY5_ioMArA5k,18
15
+ rda_python_common-1.0.50.dist-info/RECORD,,