Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
mpcdf
obs
osc-plugins
Commits
a1962aaf
Commit
a1962aaf
authored
Apr 01, 2020
by
Lorenz Hüdepohl
Browse files
Nasty bug in mpcdf_enable_repositories
parent
5a5fc9a7
Pipeline
#71969
passed with stage
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_enable_repositories.py
View file @
a1962aaf
...
...
@@ -92,7 +92,8 @@ def do_mpcdf_enable_repositories(self, subcmd, opts, *args):
if
opts
.
recreate
or
opts
.
set
or
opts
.
disable
:
mpcdf_common
.
mpcdf_enable_repositories
(
api_url
,
project
,
package
,
verbose
=
True
,
dry_run
=
opts
.
dry_run
)
enabled
=
mpcdf_common
.
get_attribute_values
(
api_url
,
project
,
package
,
"MPCDF:enable_repositories"
)
if
project
==
"software"
and
enabled
!=
[
"system"
]
and
len
(
enabled
)
>
1
and
not
opts
.
dry_run
:
raise
1
if
project
==
"software"
and
enabled
!=
[
"system"
]
and
len
(
enabled
)
>
0
and
not
opts
.
dry_run
:
mpcdf_common
.
sync_projects
(
api_url
,
package
,
verbose
=
True
)
elif
(
opts
.
compiler_modules
or
opts
.
mpi_modules
or
opts
.
cuda_modules
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment