Skip to content

Commit

Permalink
new_type can never be falsy, just use an else block
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Feb 26, 2019
1 parent b39d7c6 commit 9178dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/manifest/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def update(self, tree):
reftest_nodes.extend((item, file_hash) for item in manifest_items)
if is_new or hash_changed:
reftest_changes = True
elif new_type:
else:
self._data[new_type][rel_path] = set(manifest_items)

self._path_hash[rel_path] = (file_hash, new_type)
Expand Down

0 comments on commit 9178dc8

Please sign in to comment.