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.5"
version = "2.0.6"
authors = [
{ name="Zaihua Ji", email="[email protected]" },
]
Expand Down
4 changes: 0 additions & 4 deletions src/rda_python_common/PgLOG.py
Original file line number Diff line number Diff line change
Expand Up @@ -1393,10 +1393,6 @@ def set_common_pglog():
# check and return TMPSYNC path, and add it if not exists
#
def get_tmpsync_path():

if 'DSSHOME' in PGLOG and PGLOG['DSSHOME'] and not op.exists(PGLOG['TMPSYNC']):
pgsystem("mkdir " + PGLOG['TMPSYNC'], 0, LGWNEX, 4)
pgsystem("chmod 775 " + PGLOG['TMPSYNC'], LOGWRN, 4)
return PGLOG['TMPSYNC']

#
Expand Down
3 changes: 0 additions & 3 deletions src/rda_python_common/pg_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,9 +1118,6 @@ def set_common_pglog(self):

# check and return TMPSYNC path, and add it if not exists
def get_tmpsync_path(self):
if 'DSSHOME' in self.PGLOG and self.PGLOG['DSSHOME'] and not op.exists(self.PGLOG['TMPSYNC']):
self.pgsystem("mkdir " + self.PGLOG['TMPSYNC'], 0, self.LGWNEX, 4)
self.pgsystem("chmod 775 " + self.PGLOG['TMPSYNC'], self.LOGWRN, 4)
return self.PGLOG['TMPSYNC']

# append or prepend locpath to pgpath
Expand Down