Commit 7e417d69 authored by Xiaowu Zhang's avatar Xiaowu Zhang

use correctly log function

parent 41d13aa0
......@@ -68,7 +68,7 @@ class Recipe(object):
m.update(option_signature)
shared = os.path.join(shared, m.hexdigest())
log.info('shared directory %s set for %s' % (shared, self.name))
log.info('shared directory %s set for %s', shared, self.name)
options['shared'] = shared
default_location = options['default-location'] = os.path.join(
......@@ -286,7 +286,7 @@ class Recipe(object):
# In shared mode, do nothing if package has been installed.
if (not self.options['shared'] == ''):
log.info('Checking whether package is installed at shared path: %s' % self.options['shared'])
log.info('Checking whether package is installed at shared path: %s', self.options['shared'])
if os.path.exists(self.options['shared']):
log.info('This shared package has been installed by other package')
return parts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment