Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
eic_tools
Spack
Commits
55059a53
Commit
55059a53
authored
8 years ago
by
Oliver Breitwieser
Committed by
Todd Gamblin
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed spelling of variable (#2516)
parent
72c01fbd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/spack/spack/cmd/common/arguments.py
+1
-1
1 addition, 1 deletion
lib/spack/spack/cmd/common/arguments.py
lib/spack/spack/cmd/find.py
+1
-1
1 addition, 1 deletion
lib/spack/spack/cmd/find.py
with
2 additions
and
2 deletions
lib/spack/spack/cmd/common/arguments.py
+
1
−
1
View file @
55059a53
...
@@ -55,7 +55,7 @@ class ConstraintAction(argparse.Action):
...
@@ -55,7 +55,7 @@ class ConstraintAction(argparse.Action):
def
__call__
(
self
,
parser
,
namespace
,
values
,
option_string
=
None
):
def
__call__
(
self
,
parser
,
namespace
,
values
,
option_string
=
None
):
# Query specs from command line
# Query specs from command line
self
.
values
=
values
self
.
values
=
values
namespace
.
contraint
=
values
namespace
.
con
s
traint
=
values
namespace
.
specs
=
self
.
_specs
namespace
.
specs
=
self
.
_specs
def
_specs
(
self
,
**
kwargs
):
def
_specs
(
self
,
**
kwargs
):
...
...
This diff is collapsed.
Click to expand it.
lib/spack/spack/cmd/find.py
+
1
−
1
View file @
55059a53
...
@@ -116,7 +116,7 @@ def find(parser, args):
...
@@ -116,7 +116,7 @@ def find(parser, args):
query_specs
=
args
.
specs
(
**
q_args
)
query_specs
=
args
.
specs
(
**
q_args
)
# Exit early if no package matches the constraint
# Exit early if no package matches the constraint
if
not
query_specs
and
args
.
constraint
:
if
not
query_specs
and
args
.
constraint
:
msg
=
"
No package matches the query: {0}
"
.
format
(
args
.
contraint
)
msg
=
"
No package matches the query: {0}
"
.
format
(
args
.
con
s
traint
)
tty
.
msg
(
msg
)
tty
.
msg
(
msg
)
return
return
# Display the result
# Display the result
...
...
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