mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix white-space related lint issues.
This commit is contained in:
parent
40006124d8
commit
ca41ce936c
1 changed files with 5 additions and 1 deletions
|
@ -38,11 +38,13 @@ import salt.output
|
|||
import salt.pillar
|
||||
import salt.runner
|
||||
|
||||
HISTFILE="{HOME}/.saltsh_history".format(**os.environ)
|
||||
HISTFILE = "{HOME}/.saltsh_history".format(**os.environ)
|
||||
|
||||
|
||||
def savehist():
|
||||
readline.write_history_file(HISTFILE)
|
||||
|
||||
|
||||
def get_salt_vars():
|
||||
'''
|
||||
Return all the Salt-usual double-under data structures for a minion
|
||||
|
@ -78,6 +80,7 @@ def get_salt_vars():
|
|||
|
||||
return locals()
|
||||
|
||||
|
||||
def main():
|
||||
salt_vars = get_salt_vars()
|
||||
|
||||
|
@ -108,5 +111,6 @@ def main():
|
|||
saltrepl = InteractiveConsole(locals=salt_vars)
|
||||
saltrepl.interact(banner=__doc__)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Add table
Reference in a new issue