mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
clean up loader module
This commit is contained in:
parent
5d9645ce60
commit
760d3f6720
@ -6,7 +6,7 @@ import os
|
||||
|
||||
# Import Salt libs
|
||||
import salt.loader
|
||||
import saltcloud
|
||||
import saltapi
|
||||
|
||||
salt.loader.salt_base_path = os.path.dirname(saltapi.__file__)
|
||||
|
||||
@ -17,9 +17,3 @@ def netapi(opts):
|
||||
load = salt.loader._create_loader(opts, 'netapi', 'netapi')
|
||||
return load.gen_functions()
|
||||
|
||||
def netauth(opts):
|
||||
'''
|
||||
Return the network auth functions
|
||||
'''
|
||||
load = salt.loader._create_loader(opts, 'netauth', 'netauth')
|
||||
return load.gen_functions()
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Import salt libs
|
||||
import saltapi
|
||||
import saltapi.cli
|
||||
|
||||
def main():
|
||||
sapi = saltapi.cli.SaltAPI()
|
||||
|
Loading…
Reference in New Issue
Block a user