Skip to content

Commit

Permalink
fix error checked by pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
s1mple-child committed Jan 12, 2024
1 parent 182117e commit 9f33574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/migrate_from_gitlab_2gerrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def check_project_create_para(gitlab_ip, gerrit_ip, group_name, project_admin, p
:param project_admin: admin username of project
:param project_create_para: all or a list contains all projects need to create in gerrit
"""
if project_create_para = 'all':
if project_create_para == 'all':
# create all projects with given gitlab group in gerrit
total_created_project = find_project_in_gitlab(gitlab_ip, gerrit_ip, group_name, project_admin)
print('Total number of created projects is: ' + str(total_created_project))
Expand Down

0 comments on commit 9f33574

Please sign in to comment.