Improve the deprecated message about DEFAULT.root_helper

bug #1166706

Change-Id: Ic90fefefc0c3339cbc876e4402b6d6c5aa841c47
This commit is contained in:
Akihiro MOTOKI 2013-04-09 19:15:46 +09:00
parent 23a99acc06
commit e9547131eb

View File

@ -75,7 +75,8 @@ def get_root_helper(conf):
root_helper = conf.root_helper
if root_helper is not 'sudo':
LOG.deprecated(_('DEFAULT.root_helper is deprecated!'))
LOG.deprecated(_('DEFAULT.root_helper is deprecated! Please move '
'root_helper configuration to [AGENT] section.'))
return root_helper
return 'sudo'