diff --git a/pyproject.toml b/pyproject.toml index e72a360..8b6c9a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "rda_python_common" -version = "2.0.6" +version = "2.0.7" authors = [ { name="Zaihua Ji", email="zji@ucar.edu" }, ] diff --git a/src/rda_python_common/pg_file.py b/src/rda_python_common/pg_file.py index e1ae018..25e2cb1 100644 --- a/src/rda_python_common/pg_file.py +++ b/src/rda_python_common/pg_file.py @@ -59,6 +59,7 @@ def __init__(self): 'tar.bz2' : ['tar -cvjf', 'tar -xvf', 'TAR.BZ2'] } self.TARSTR = '|'.join(self.PGTARS) + self.DELDIRS = {} self.TASKIDS = {} # cache unfinished self.LHOST = "localhost" self.OHOST = self.PGLOG['OBJCTSTR'] @@ -67,6 +68,7 @@ def __init__(self): self.OBJCTCMD = "isd_s3_cli" self.BACKCMD = "dsglobus" self.DIRLVLS = 0 + self.BFILES = {} # cache backup file names and dates for each bid # record how many errors happen for working with HPSS, local or remote machines self.ECNTS = {'D' : 0, 'H' : 0, 'L' : 0, 'R' : 0, 'O' : 0, 'B' : 0} # up limits for how many continuing errors allowed @@ -105,7 +107,6 @@ def __init__(self): 'gdex-quasar' : "NCAR GDEX Quasar", 'gdex-quasar-drdata' : "NCAR GDEX Quasar DRDATA" } - self.BFILES = {} # cache backup file names and dates for each bid # reset the up limit for a specified error type def reset_error_limit(self, etype, lmt):