mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use new-style classes
This commit is contained in:
parent
4a50bac1c2
commit
e83a0f9b2b
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ ALIASES = {
|
|||
}
|
||||
|
||||
|
||||
class AliasedLoader:
|
||||
class AliasedLoader(object):
|
||||
'''
|
||||
Light wrapper around the LazyLoader to redirect 'cmd.run' calls to
|
||||
'cmd.shell', for easy use of shellisms during templating calls
|
||||
|
@ -84,7 +84,7 @@ class AliasedLoader:
|
|||
return getattr(self.wrapped, name)
|
||||
|
||||
|
||||
class AliasedModule:
|
||||
class AliasedModule(object):
|
||||
'''
|
||||
Light wrapper around module objects returned by the LazyLoader's getattr
|
||||
for the purposes of `salt.cmd.run()` syntax in templates
|
||||
|
|
Loading…
Add table
Reference in a new issue