Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Peter Sherwood
athena
Commits
9d3479ed
Commit
9d3479ed
authored
4 years ago
by
Emmanuel Le Guirriec
Browse files
Options
Downloads
Patches
Plain Diff
Use TypeError if new sequence is not a sequence
parent
1908da15
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Control/AthenaConfiguration/python/ComponentAccumulator.py
+1
-1
1 addition, 1 deletion
Control/AthenaConfiguration/python/ComponentAccumulator.py
with
1 addition
and
1 deletion
Control/AthenaConfiguration/python/ComponentAccumulator.py
+
1
−
1
View file @
9d3479ed
...
...
@@ -219,7 +219,7 @@ class ComponentAccumulator(object):
raise
ConfigurationError
(
'
{} is not the Conf2 Sequence, ComponentAccumulator handles only the former
'
.
format
(
newseq
.
name
()))
if
not
isSequence
(
newseq
):
raise
Configuration
Error
(
'
{}
is not a sequence
'
.
format
(
newseq
.
name
)
)
raise
Type
Error
(
'
%s
is not a sequence
'
%
newseq
.
name
)
if
parentName
is
None
:
parent
=
self
.
_sequence
...
...
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