Fixed some lint

This commit is contained in:
twangboy 2015-11-06 17:30:31 -07:00
parent a43eb53f28
commit 745b8f75f6

View file

@ -502,7 +502,7 @@ def unjoin_domain(username=None,
workgroup='WORKGROUP',
disable=False,
restart=False):
'''
r'''
Unjoin a computer from an Active Directory Domain. Requires restart.
:param username:
@ -578,7 +578,7 @@ def unjoin_domain(username=None,
ret = {'Workgroup': workgroup,
'Restart': False}
if restart:
ret['Restart'] = reboot()
ret['Restart'] = reboot()
return ret
else: