mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
fix string parsing
This commit is contained in:
parent
3acc2351e4
commit
4ce6ba58f0
@ -131,5 +131,5 @@ class Loader(object):
|
||||
funcs = {}
|
||||
for key, fun in self.gen_functions().items():
|
||||
if key[key.index('.') + 1:] == name:
|
||||
funcs[:key[key.index('.')]] = fun
|
||||
funcs[key[:key.index('.')]] = fun
|
||||
return funcs
|
||||
|
Loading…
Reference in New Issue
Block a user