Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Bouterse committed Aug 2, 2018
1 parent bc6d425 commit 856d090
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/pulpcore/plugin/stages/content_unit_stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ async def __call__(self, in_q, out_q):
continue
not_same_unit = False
for field in result.natural_key_fields():
if getattr(declarative_content.content, field) != getattr(result, field):
in_memory_digest_value = getattr(declarative_content.content, field)
if in_memory_digest_value != getattr(result, field):
not_same_unit = True
break
if not_same_unit:
Expand Down

0 comments on commit 856d090

Please sign in to comment.