On 05/22/2014 09:46 PM, Sheldon wrote:
+ file_target = file_source.replace(name,
params['name'])
+ shutil.move(file_source, file_target)
+ kimchi_log.info('%s renamed to %s' % (file_source, file_target))
kimchi_log.info('%s renamed to %s', file_source, file_target)
is more better.
+ return params['name']
--
Thanks and best regards!
Sheldon Feng(冯少合)<shaohef(a)linux.vnet.ibm.com>
IBM Linux Technology Center