fix type error.

This commit is contained in:
soarpenguin 2015-07-01 12:16:01 +08:00
parent 468770c894
commit c6ed1ff4ad

View file

@ -171,7 +171,7 @@ class CLI(object):
self.options.become_method = 'sudo'
elif self.options.su:
self.options.become = True
options.become_method = 'su'
self.options.become_method = 'su'
def validate_conflicts(self, vault_opts=False, runas_opts=False):