Merge pull request #11452 from soarpenguin/devel

fix type error.
This commit is contained in:
Toshio Kuratomi 2015-07-01 12:41:05 -07:00
commit b11e69f3d0

View file

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