Skip to content

Commit

Permalink
Show owners consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah256 authored and mprahl committed Jul 23, 2019
1 parent a316e92 commit f2b80fb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scrapers/koji.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,7 @@ def update_neo4j(self, builds):
else:
build = KojiBuild.create_or_update(build_params)[0]

if build_dict['owner_username']:
username = build_dict['owner_username'].split('@')[0]
else:
username = build_dict['owner_name']
username = build_dict['owner_name']
user = User.get_or_create(dict(username=username))[0]
build.conditional_connect(build.owner, user)

Expand Down

0 comments on commit f2b80fb

Please sign in to comment.