Skip to content

Commit

Permalink
users: fix diff for groups
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Feb 28, 2018
1 parent e453846 commit 6ca8d39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bundlewrap/items/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ def fix(self, status):

def display_dicts(self, cdict, sdict, keys):
for attr_name, attr_display_name in _ATTRIBUTE_NAMES.items():
if attr_name == attr_display_name:
# Don't change anything; the `del`s below would
# always remove the key entirely!
continue
try:
keys.remove(attr_name)
except ValueError:
Expand Down

0 comments on commit 6ca8d39

Please sign in to comment.