mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Not renaming, return a boolean in __virtual__()
.
This commit is contained in:
parent
81b64c023f
commit
5276e23322
@ -171,7 +171,7 @@ except ImportError:
|
||||
def __virtual__():
|
||||
if not HAS_MYSQL:
|
||||
return False
|
||||
return 'mysql'
|
||||
return True
|
||||
|
||||
|
||||
def _get_options():
|
||||
|
Loading…
Reference in New Issue
Block a user