- warn("Found action `.*'. Don't know how to handle this." \
- " Please edit \%s' image file manually to make the " \
- "system immediatelly shutdown when an power button acpi " \
- "event occures" % action)
+ self.out.warn("Found action `.*'. Don't know how to handle "
+ "this. Please edit `%s' image file manually to "
+ "make the system immediatelly shutdown when an "
+ "power button acpi event occures." %
+ action.strip().split()[0])