mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
whitespace
This commit is contained in:
parent
ea2c4cd297
commit
10a3f74c0e
@ -96,7 +96,7 @@ class SaltCMD(parsers.SaltCMDOptionParser):
|
||||
|
||||
if 'token' in self.config:
|
||||
try:
|
||||
with salt.utils.fopen(os.path.join(self.config['cachedir'], '.root_key') , 'r') as fp_:
|
||||
with salt.utils.fopen(os.path.join(self.config['cachedir'], '.root_key'), 'r') as fp_:
|
||||
kwargs['key'] = fp_.readline()
|
||||
except IOError:
|
||||
kwargs['token'] = self.config['token']
|
||||
|
Loading…
Reference in New Issue
Block a user