diff --git a/pyproject.toml b/pyproject.toml index d234666..6d29d24 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "rda_python_dsarch" -version = "1.0.4" +version = "1.0.5" authors = [ { name="Zaihua Ji", email="zji@ucar.edu" }, ] @@ -28,7 +28,7 @@ include-package-data = true where = ["src"] [tool.setuptools.package-data] -"rda_pyhton_dsarch" = ["dsarch.usg", "dsarch.c"] +"rda_python_dsarch" = ["dsarch.usg", "dsarch.c"] [project.urls] "Homepage" = "https://github.com/NCAR/rda-python-dsarch" diff --git a/src/rda_python_dsarch/dsarch.py b/src/rda_python_dsarch/dsarch.py index 8d0f0e1..1871178 100644 --- a/src/rda_python_dsarch/dsarch.py +++ b/src/rda_python_dsarch/dsarch.py @@ -22,7 +22,6 @@ from rda_python_common import PgOPT from rda_python_common import PgSIG from rda_python_common import PgCMD -from rda_python_common import PgGLBS from rda_python_common import PgDBI from rda_python_common import PgSplit from . import PgMeta @@ -1661,7 +1660,7 @@ def tar_backup_savedfiles(tarfile, tinfo, ccnt, chkstat): if not pgrec: PgLOG.pglog("{}-{}: Saved file record not in RDADB".format(dsid, sfile), PgOPT.PGOPT['extlog']) elif chkstat and pgrec['bid'] and pgrec['bid'] != tinfo['bid']: - PgGLBS.file_backup_status(pgrec, 0, PgOPT.PGOPT['extlog']) + PgFile.file_backup_status(pgrec, 0, PgOPT.PGOPT['extlog']) if not stype: stype = pgrec['type'] if pgrec['locflag'] == 'O': tardir = tarhome @@ -1750,7 +1749,7 @@ def tar_backup_webfiles(tarfile, tinfo, ccnt, chkstat): if not pgrec: PgLOG.pglog("{}-{}: Web file record not in RDADB".format(dsid, wfile), PgOPT.PGOPT['extlog']) elif chkstat and pgrec['bid'] and pgrec['bid'] != tinfo['bid']: - PgGLBS.file_backup_status(pgrec, 0, PgOPT.PGOPT['extlog']) + PgFile.file_backup_status(pgrec, 0, PgOPT.PGOPT['extlog']) if pgrec['locflag'] == 'O': tardir = tarhome webfile = "{}/{}".format(tardir, wfile)