rda-python-common 2.1.4__py3-none-any.whl → 2.1.6__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.
- rda_python_common/pg_file.py +4 -3
- {rda_python_common-2.1.4.dist-info → rda_python_common-2.1.6.dist-info}/METADATA +2 -2
- {rda_python_common-2.1.4.dist-info → rda_python_common-2.1.6.dist-info}/RECORD +7 -7
- {rda_python_common-2.1.4.dist-info → rda_python_common-2.1.6.dist-info}/WHEEL +0 -0
- {rda_python_common-2.1.4.dist-info → rda_python_common-2.1.6.dist-info}/entry_points.txt +0 -0
- {rda_python_common-2.1.4.dist-info → rda_python_common-2.1.6.dist-info}/licenses/LICENSE +0 -0
- {rda_python_common-2.1.4.dist-info → rda_python_common-2.1.6.dist-info}/top_level.txt +0 -0
rda_python_common/pg_file.py
CHANGED
|
@@ -2994,8 +2994,8 @@ class PgFile(PgUtil, PgSIG):
|
|
|
2994
2994
|
logact = lact = self.LOGWRN
|
|
2995
2995
|
lvl = self.DIRLVLS
|
|
2996
2996
|
self.DIRLVLS = 0 # set to 0 to stop recording directory
|
|
2997
|
-
while lvl
|
|
2998
|
-
lvl -= 1
|
|
2997
|
+
while lvl != 0:
|
|
2998
|
+
if lvl > 0: lvl -= 1
|
|
2999
2999
|
dirs = {}
|
|
3000
3000
|
for dir in self.DELDIRS:
|
|
3001
3001
|
host = self.DELDIRS[dir]
|
|
@@ -3007,7 +3007,8 @@ class PgFile(PgUtil, PgSIG):
|
|
|
3007
3007
|
elif dstat > 0:
|
|
3008
3008
|
if dstat == 1 and lvl > 0: self.pglog(dinfo + ": Directory not empty yet", lact)
|
|
3009
3009
|
continue
|
|
3010
|
-
|
|
3010
|
+
pdir = self.dirname(dir)
|
|
3011
|
+
if lvl and pdir and not re.match(r'^(\.|\./|/)$', pdir): dirs[pdir] = host
|
|
3011
3012
|
if not dirs: break
|
|
3012
3013
|
self.DELDIRS = dirs
|
|
3013
3014
|
self.DELDIRS = {} # empty cache afterward
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.6
|
|
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
|
|
@@ -11,7 +11,7 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
11
11
|
Requires-Python: >=3.7
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: psycopg2
|
|
14
|
+
Requires-Dist: psycopg2==2.9.10
|
|
15
15
|
Requires-Dist: rda-python-globus
|
|
16
16
|
Requires-Dist: unidecode
|
|
17
17
|
Dynamic: license-file
|
|
@@ -10,7 +10,7 @@ rda_python_common/PgUtil.py,sha256=OqESKCd72b9g8m8jwjPJhXDtPYlW6G8oSOhwChvz2Cg,4
|
|
|
10
10
|
rda_python_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
rda_python_common/pg_cmd.py,sha256=hQZaW80eFqEUoF0vZHtGuvBEWXbXdY0Nvj6rFIQGboo,32856
|
|
12
12
|
rda_python_common/pg_dbi.py,sha256=R-ZzHUItAxma_rCTrelDakFQDl8yEtOTKo4IRfzKl_Q,116269
|
|
13
|
-
rda_python_common/pg_file.py,sha256=
|
|
13
|
+
rda_python_common/pg_file.py,sha256=gNhUjT39g6RMUel1Z4suxFrQtstQr8emNxI-NphKyOE,162015
|
|
14
14
|
rda_python_common/pg_lock.py,sha256=Il-pY81JtEDMWtwqW6lEM-EtKbhNI6rug8VMCdkGgNc,32703
|
|
15
15
|
rda_python_common/pg_log.py,sha256=Zte9joy46hn2RsJPNpisHLjxZI-mDdcXY4aSiMNlIoY,80661
|
|
16
16
|
rda_python_common/pg_opt.py,sha256=N45DIY2O3S7ogABOHUecfiKwQY1_O4X7WYYZGLdnhOI,82506
|
|
@@ -19,9 +19,9 @@ rda_python_common/pg_sig.py,sha256=Dz7QKOkwYchbhVZgQxQqFrUmGaxer2bm8D2K99ig5L0,5
|
|
|
19
19
|
rda_python_common/pg_split.py,sha256=yOeUSRzgQlwNGzv76ZLCZtsjzDQw0NeYXz0IV0RZgXQ,16343
|
|
20
20
|
rda_python_common/pg_util.py,sha256=1f25D4xyPMerW55q42CQOD0WYAoFYL2A8Opl4rHA8N4,87393
|
|
21
21
|
rda_python_common/pgpassword.py,sha256=WXEq88XgkQSmJ2j2MX0HSVEUFZOFu-gokRJYvEQj_u4,2900
|
|
22
|
-
rda_python_common-2.1.
|
|
23
|
-
rda_python_common-2.1.
|
|
24
|
-
rda_python_common-2.1.
|
|
25
|
-
rda_python_common-2.1.
|
|
26
|
-
rda_python_common-2.1.
|
|
27
|
-
rda_python_common-2.1.
|
|
22
|
+
rda_python_common-2.1.6.dist-info/licenses/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
|
|
23
|
+
rda_python_common-2.1.6.dist-info/METADATA,sha256=rIsA35A3p4QzRbQpuFImiu_WNDyoBu2897n30fZVcT4,741
|
|
24
|
+
rda_python_common-2.1.6.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
25
|
+
rda_python_common-2.1.6.dist-info/entry_points.txt,sha256=pZgVNWspcK-F1TbPav7C3C9NdeHDZMm_25fW9weix00,65
|
|
26
|
+
rda_python_common-2.1.6.dist-info/top_level.txt,sha256=KVQmx7D3DD-jsiheqL8HdTrRE14hpRnZY5_ioMArA5k,18
|
|
27
|
+
rda_python_common-2.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|