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 3972228 commit bfd1462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab/migrate_from_gitlab_2gerrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,10 @@ def set_admin_username_n_http_cred(gerrit_ip):
"""
admin_user_name = ''
admin_http_cred = ''
if gerrit_ip = 'gerrit.ip.addr.1':
if gerrit_ip == 'gerrit.ip.addr.1':
admin_user_name = 'user1'
admin_http_cred = 'http_cred1'
elif gerrit_ip = 'gerrit.ip.addr.2':
elif gerrit_ip == 'gerrit.ip.addr.2':
admin_user_name = 'user2'
admin_http_cred = 'http_cred2'

Expand Down

0 comments on commit bfd1462

Please sign in to comment.