rda-python-common 2.0.5__tar.gz → 2.0.7__tar.gz
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.
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/PKG-INFO +1 -1
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/pyproject.toml +1 -1
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgLOG.py +0 -4
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_file.py +2 -1
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_log.py +0 -3
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/PKG-INFO +1 -1
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/LICENSE +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/README.md +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/setup.cfg +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgCMD.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgDBI.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgFile.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgLock.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgOPT.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgSIG.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgSplit.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/PgUtil.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/__init__.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_cmd.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_dbi.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_lock.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_opt.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_password.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_sig.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_split.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pg_util.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common/pgpassword.py +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/SOURCES.txt +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/dependency_links.txt +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/entry_points.txt +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/requires.txt +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/top_level.txt +0 -0
- {rda_python_common-2.0.5 → rda_python_common-2.0.7}/test/test_common.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
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
|
|
@@ -1393,10 +1393,6 @@ def set_common_pglog():
|
|
|
1393
1393
|
# check and return TMPSYNC path, and add it if not exists
|
|
1394
1394
|
#
|
|
1395
1395
|
def get_tmpsync_path():
|
|
1396
|
-
|
|
1397
|
-
if 'DSSHOME' in PGLOG and PGLOG['DSSHOME'] and not op.exists(PGLOG['TMPSYNC']):
|
|
1398
|
-
pgsystem("mkdir " + PGLOG['TMPSYNC'], 0, LGWNEX, 4)
|
|
1399
|
-
pgsystem("chmod 775 " + PGLOG['TMPSYNC'], LOGWRN, 4)
|
|
1400
1396
|
return PGLOG['TMPSYNC']
|
|
1401
1397
|
|
|
1402
1398
|
#
|
|
@@ -59,6 +59,7 @@ class PgFile(PgUtil, PgSIG):
|
|
|
59
59
|
'tar.bz2' : ['tar -cvjf', 'tar -xvf', 'TAR.BZ2']
|
|
60
60
|
}
|
|
61
61
|
self.TARSTR = '|'.join(self.PGTARS)
|
|
62
|
+
self.DELDIRS = {}
|
|
62
63
|
self.TASKIDS = {} # cache unfinished
|
|
63
64
|
self.LHOST = "localhost"
|
|
64
65
|
self.OHOST = self.PGLOG['OBJCTSTR']
|
|
@@ -67,6 +68,7 @@ class PgFile(PgUtil, PgSIG):
|
|
|
67
68
|
self.OBJCTCMD = "isd_s3_cli"
|
|
68
69
|
self.BACKCMD = "dsglobus"
|
|
69
70
|
self.DIRLVLS = 0
|
|
71
|
+
self.BFILES = {} # cache backup file names and dates for each bid
|
|
70
72
|
# record how many errors happen for working with HPSS, local or remote machines
|
|
71
73
|
self.ECNTS = {'D' : 0, 'H' : 0, 'L' : 0, 'R' : 0, 'O' : 0, 'B' : 0}
|
|
72
74
|
# up limits for how many continuing errors allowed
|
|
@@ -105,7 +107,6 @@ class PgFile(PgUtil, PgSIG):
|
|
|
105
107
|
'gdex-quasar' : "NCAR GDEX Quasar",
|
|
106
108
|
'gdex-quasar-drdata' : "NCAR GDEX Quasar DRDATA"
|
|
107
109
|
}
|
|
108
|
-
self.BFILES = {} # cache backup file names and dates for each bid
|
|
109
110
|
|
|
110
111
|
# reset the up limit for a specified error type
|
|
111
112
|
def reset_error_limit(self, etype, lmt):
|
|
@@ -1118,9 +1118,6 @@ class PgLOG:
|
|
|
1118
1118
|
|
|
1119
1119
|
# check and return TMPSYNC path, and add it if not exists
|
|
1120
1120
|
def get_tmpsync_path(self):
|
|
1121
|
-
if 'DSSHOME' in self.PGLOG and self.PGLOG['DSSHOME'] and not op.exists(self.PGLOG['TMPSYNC']):
|
|
1122
|
-
self.pgsystem("mkdir " + self.PGLOG['TMPSYNC'], 0, self.LGWNEX, 4)
|
|
1123
|
-
self.pgsystem("chmod 775 " + self.PGLOG['TMPSYNC'], self.LOGWRN, 4)
|
|
1124
1121
|
return self.PGLOG['TMPSYNC']
|
|
1125
1122
|
|
|
1126
1123
|
# append or prepend locpath to pgpath
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_common-2.0.5 → rda_python_common-2.0.7}/src/rda_python_common.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|