Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]" },
]
Expand Down
3 changes: 2 additions & 1 deletion src/rda_python_common/pg_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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
Expand Down Expand Up @@ -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):
Expand Down