clean up loader module

This commit is contained in:
Thomas S Hatch 2012-09-24 14:45:36 -06:00
parent 5d9645ce60
commit 760d3f6720
2 changed files with 2 additions and 8 deletions

View File

@ -6,7 +6,7 @@ import os
# Import Salt libs # Import Salt libs
import salt.loader import salt.loader
import saltcloud import saltapi
salt.loader.salt_base_path = os.path.dirname(saltapi.__file__) 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') load = salt.loader._create_loader(opts, 'netapi', 'netapi')
return load.gen_functions() return load.gen_functions()
def netauth(opts):
'''
Return the network auth functions
'''
load = salt.loader._create_loader(opts, 'netauth', 'netauth')
return load.gen_functions()

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# Import salt libs # Import salt libs
import saltapi import saltapi.cli
def main(): def main():
sapi = saltapi.cli.SaltAPI() sapi = saltapi.cli.SaltAPI()