rda-python-common 1.0.16__tar.gz → 1.0.17__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.
Potentially problematic release.
This version of rda-python-common might be problematic. Click here for more details.
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/PKG-INFO +1 -1
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/pyproject.toml +1 -1
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgFile.py +2 -1
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgLOG.py +9 -2
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common.egg-info/PKG-INFO +1 -1
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/LICENSE +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/README.md +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/setup.cfg +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgCMD.py +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgDBI.py +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgLock.py +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgOPT.py +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgSIG.py +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgSplit.py +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/PgUtil.py +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common/__init__.py +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common.egg-info/SOURCES.txt +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common.egg-info/dependency_links.txt +0 -0
- {rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.17
|
|
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
|
|
@@ -1125,7 +1125,8 @@ def make_one_remote_directory(dir, odir, host, logact = 0):
|
|
|
1125
1125
|
if is_root_directory(dir, 'R', host, "make directory {} on {}".format(odir, host), logact): return PgLOG.FAILURE
|
|
1126
1126
|
|
|
1127
1127
|
if make_one_remote_directory(op.dirname(dir), odir, host, logact):
|
|
1128
|
-
|
|
1128
|
+
tmpsync = PgLOG.get_tmpsync_path()
|
|
1129
|
+
if PgLOG.pgsystem("{} {} {}".format(PgLOG.get_sync_command(host), tmpsync, dir), logact, 5):
|
|
1129
1130
|
set_remote_mode(dir, 0, host, PgLOG.PGLOG['EXECMODE'])
|
|
1130
1131
|
return PgLOG.SUCCESS
|
|
1131
1132
|
|
|
@@ -1337,11 +1337,18 @@ def set_common_pglog():
|
|
|
1337
1337
|
|
|
1338
1338
|
# empty diretory for HOST-sync
|
|
1339
1339
|
PGLOG['TMPSYNC'] = PGLOG['DSSDBHM'] + "/tmp/.syncdir"
|
|
1340
|
+
|
|
1341
|
+
os.umask(2)
|
|
1342
|
+
|
|
1343
|
+
#
|
|
1344
|
+
# check and return TMPSYNC path, and add it if not exists
|
|
1345
|
+
#
|
|
1346
|
+
def get_tmpsync_path():
|
|
1347
|
+
|
|
1340
1348
|
if 'DSSHOME' in PGLOG and PGLOG['DSSHOME'] and not op.exists(PGLOG['TMPSYNC']):
|
|
1341
1349
|
pgsystem("mkdir " + PGLOG['TMPSYNC'], 0, LGWNEX, 4)
|
|
1342
1350
|
pgsystem("chmod 775 " + PGLOG['TMPSYNC'], LOGWRN, 4)
|
|
1343
|
-
|
|
1344
|
-
os.umask(2)
|
|
1351
|
+
return PGLOG['TMPSYNC']
|
|
1345
1352
|
|
|
1346
1353
|
#
|
|
1347
1354
|
# append or prepend locpath to pgpath
|
{rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.17
|
|
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
|
{rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_common-1.0.16 → rda_python_common-1.0.17}/src/rda_python_common.egg-info/top_level.txt
RENAMED
|
File without changes
|