Show only changed and writable values with the write command

This commit is contained in:
Thomas Scholtes 2014-03-10 23:57:19 +01:00
parent 6bd6618c14
commit 002d360039

View file

@ -1230,7 +1230,7 @@ def write_items(lib, query, pretend):
# Check for and display changes.
changed = ui.show_model_changes(item, clean_item,
library.ITEM_KEYS_META, always=True)
library.ITEM_KEYS_WRITABLE, always=True)
if changed and not pretend:
try:
item.write()