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
Open sidebar
mpcdf
obs
osc-plugins
Commits
53cc94f8
Commit
53cc94f8
authored
Jul 25, 2018
by
Lorenz Huedepohl
Browse files
Fix: arguments were swapped
parent
0bf69658
Pipeline
#67049
failed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
53cc94f8
...
...
@@ -157,7 +157,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False):
print
(
"Warning: Could not get attribute MPCDF:enable_repositories for package {0}, skipping"
.
format
(
package
))
return
False
def
try_get_attribute
(
attribute
,
packag
e
,
with_project
=
False
):
def
try_get_attribute
(
package
,
attribut
e
,
with_project
=
False
):
try
:
return
get_attribute_values
(
api_url
,
project
,
package
,
"MPCDF:"
+
attribute
,
with_project
=
with_project
)
except
UnsetAttributeException
:
...
...
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