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
ad0d17d59c
commit
a05adf19be
@ -153,7 +153,7 @@ def __virtual__():
|
||||
Only load this module if the mysql libraries exist
|
||||
'''
|
||||
if HAS_MYSQLDB:
|
||||
return 'mysql'
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user