Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CastorScript
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas-tdaq-software
CastorScript
Commits
4fb22427
Commit
4fb22427
authored
3 years ago
by
Fabrice Le Goff
Browse files
Options
Downloads
Patches
Plain Diff
remove code used to support very old helper files
parent
4f4d2a3d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Script/cs/Threads/ManagerThread.py
+0
-13
0 additions, 13 deletions
Script/cs/Threads/ManagerThread.py
with
0 additions
and
13 deletions
Script/cs/Threads/ManagerThread.py
+
0
−
13
View file @
4fb22427
...
@@ -48,19 +48,6 @@ class ManagerThread(threading.Thread):
...
@@ -48,19 +48,6 @@ class ManagerThread(threading.Thread):
# Check the validity of all the helper files from previous runs
# Check the validity of all the helper files from previous runs
self
.
logger
.
debug
(
'
Check helper files from previous run
'
)
self
.
logger
.
debug
(
'
Check helper files from previous run
'
)
for
folder
in
self
.
conf
.
DirList
:
pattern
=
'
**/*
'
if
self
.
conf
.
RecursiveSourceFolder
else
'
*
'
for
oldfile
in
pathlib
.
Path
(
folder
).
glob
(
pattern
):
if
oldfile
.
is_dir
():
continue
if
oldfile
.
suffix
in
(
Constants
.
tobecopied_ext
,
Constants
.
copied_ext
,
Constants
.
copying_ext
,
Constants
.
problematic_ext
):
to_remove
=
False
with
open
(
oldfile
)
as
of
:
if
len
(
of
.
readlines
())
<
4
:
to_remove
=
True
if
to_remove
:
os
.
remove
(
oldfile
)
# Handle .COPIED files from previous run
# Handle .COPIED files from previous run
self
.
logger
.
info
(
'
Handle .COPIED files from previous run
'
)
self
.
logger
.
info
(
'
Handle .COPIED files from previous run
'
)
for
folder
in
self
.
conf
.
DirList
:
for
folder
in
self
.
conf
.
DirList
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment