Fixed command failure if one of a list of targets does not exist

This commit is contained in:
jamesvclemence 2009-01-23 17:54:39 +00:00
parent 9820d28438
commit 9250cb6446

View file

@ -344,6 +344,8 @@ def cmd_cpattr(command):
# Does target exist?
if not tar_obj:
session.msg("Target object does not exist: " + tar_string)
# Continue if target does not exist, but give error on this item
continue
# If target attribute is not given, use source_attr_string for name
if tar_attr_string == '':