Skip to content

Commit c66b37f

Browse files
author
Murat Kumykov
committed
added explicit parameters assignment in the else branch for def
get_or_create_project_version(
1 parent c17c497 commit c66b37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blackduck/HubRestApi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def get_or_create_project_version(self, project_name, version_name, parameters =
848848
self.create_project_version(project, version_name, parameters=parameters)
849849
version = self.get_version_by_name(project, version_name)
850850
else:
851-
self.create_project(project_name, version_name, parameters)
851+
self.create_project(project_name, version_name, parameters=parameters)
852852
project = self.get_project_by_name(project_name)
853853
version = self.get_version_by_name(project, version_name)
854854
return version

0 commit comments

Comments
 (0)