Revision 67b9f8b3
Added by Marc Dequènes over 15 years ago
- ID 67b9f8b31ac29fa8c16be38997ca3d391655e21e
bin/shadowwalker | ||
---|---|---|
case field
|
||
when 'aspects'
|
||
unless item.class.possible_aspects.include?(val)
|
||
raise PreProcessingError, _("No such aspect '%s' for object '%s'") [val, obj_klass.handle]
|
||
raise PreProcessingError, _("No such aspect '%s' for object '%s'") % [val, obj_klass.handle]
|
||
end
|
||
else
|
||
raise PreProcessingError, _("Unknown core field '%s'") % field
|
||
... | ... | |
miss_str.join(", ")
|
||
end
|
||
|
||
$program_options[:skip_binary] = true
|
||
Display.display_item(item, $program_options)
|
||
item.save!
|
||
|
||
puts "Modification done."
|
Also available in: Unified diff
[fix] silly syntax error