rda-python-common 1.0.15__tar.gz → 1.0.16__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.15 → rda_python_common-1.0.16}/PKG-INFO +1 -1
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/pyproject.toml +1 -1
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgDBI.py +0 -5
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgLOG.py +1 -1
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common.egg-info/PKG-INFO +1 -1
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/LICENSE +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/README.md +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/setup.cfg +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgCMD.py +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgFile.py +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgLock.py +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgOPT.py +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgSIG.py +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgSplit.py +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/PgUtil.py +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common/__init__.py +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common.egg-info/SOURCES.txt +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common.egg-info/dependency_links.txt +0 -0
- {rda_python_common-1.0.15 → rda_python_common-1.0.16}/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.16
|
|
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
|
|
@@ -236,7 +236,6 @@ def set_dbname(scname = None, lnname = None, pwname = None, dbhost = None, dbpor
|
|
|
236
236
|
#
|
|
237
237
|
def set_scname(dbname = None, scname = None, lnname = None, pwname = None, dbhost = None, dbport = None, socket = None):
|
|
238
238
|
|
|
239
|
-
global pgdb
|
|
240
239
|
changed = 0
|
|
241
240
|
|
|
242
241
|
if dbname and dbname != PGDBI['DBNAME']:
|
|
@@ -274,7 +273,6 @@ def set_scname(dbname = None, scname = None, lnname = None, pwname = None, dbhos
|
|
|
274
273
|
def starttran():
|
|
275
274
|
|
|
276
275
|
global curtran
|
|
277
|
-
global pgdb
|
|
278
276
|
|
|
279
277
|
if curtran == 1: endtran() # try to end previous transaction
|
|
280
278
|
if not pgdb:
|
|
@@ -296,7 +294,6 @@ def starttran():
|
|
|
296
294
|
def endtran(autocommit = True):
|
|
297
295
|
|
|
298
296
|
global curtran
|
|
299
|
-
global pgdb
|
|
300
297
|
if curtran and pgdb:
|
|
301
298
|
if not pgdb.closed: pgdb.commit()
|
|
302
299
|
pgdb.autocommit = autocommit
|
|
@@ -308,7 +305,6 @@ def endtran(autocommit = True):
|
|
|
308
305
|
def aborttran(autocommit = True):
|
|
309
306
|
|
|
310
307
|
global curtran
|
|
311
|
-
global pgdb
|
|
312
308
|
if curtran and pgdb:
|
|
313
309
|
if not pgdb.closed: pgdb.rollback()
|
|
314
310
|
pgdb.autocommit = autocommit
|
|
@@ -535,7 +531,6 @@ def pgconnect(reconnect = 0, pgcnt = 0, autocommit = True):
|
|
|
535
531
|
#
|
|
536
532
|
def pgcursor():
|
|
537
533
|
|
|
538
|
-
global pgdb
|
|
539
534
|
pgcur = None
|
|
540
535
|
|
|
541
536
|
if not pgdb:
|
|
@@ -564,7 +564,7 @@ def set_help_path(progfile):
|
|
|
564
564
|
#
|
|
565
565
|
def show_usage(progname, opts = None):
|
|
566
566
|
|
|
567
|
-
if PGLOG['PUSGDIR'] is None: set_help_path(get_caller_file())
|
|
567
|
+
if PGLOG['PUSGDIR'] is None: set_help_path(get_caller_file(1))
|
|
568
568
|
usgname = join_paths(PGLOG['PUSGDIR'], progname + '.usg')
|
|
569
569
|
|
|
570
570
|
if opts:
|
{rda_python_common-1.0.15 → rda_python_common-1.0.16}/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.16
|
|
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.15 → rda_python_common-1.0.16}/src/rda_python_common.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_common-1.0.15 → rda_python_common-1.0.16}/src/rda_python_common.egg-info/top_level.txt
RENAMED
|
File without changes
|