Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
muma
TM
Commits
13efc35a
Commit
13efc35a
authored
8 years ago
by
Luca Scarabello
Browse files
Options
Downloads
Patches
Plain Diff
bug fix mpi: handling of unloadable chunks/templates
parent
c11f3048
No related branches found
Branches containing commit
Tags
v0.4.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mpi/scanned_days_manager.py
+4
-2
4 additions, 2 deletions
mpi/scanned_days_manager.py
with
4 additions
and
2 deletions
mpi/scanned_days_manager.py
+
4
−
2
View file @
13efc35a
...
...
@@ -82,12 +82,14 @@ class ScannedDaysManager(object):
self
.
__add_entry
(
self
.
to_process
,
chunk
,
template
)
def
remove_chunk
(
self
,
chunk
):
self
.
chunks
.
remove
(
chunk
)
if
chunk
in
self
.
chunks
:
self
.
chunks
.
remove
(
chunk
)
if
chunk
in
self
.
to_process
:
del
self
.
to_process
[
chunk
]
def
remove_template
(
self
,
template
):
self
.
templates
.
remove
(
template
)
if
template
in
self
.
templates
:
self
.
templates
.
remove
(
template
)
for
chunk
in
self
.
to_process
[:]:
self
.
__remove_entry
(
self
.
to_process
,
chunk
,
template
)
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