From a05adf19beb50db9d485494fd12f3ede484b15e2 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 6 Mar 2014 13:01:06 +0000 Subject: [PATCH] Not renaming, return a boolean in `__virtual__()`. --- salt/modules/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/mysql.py b/salt/modules/mysql.py index 46938803ff..356c1ae524 100644 --- a/salt/modules/mysql.py +++ b/salt/modules/mysql.py @@ -153,7 +153,7 @@ def __virtual__(): Only load this module if the mysql libraries exist ''' if HAS_MYSQLDB: - return 'mysql' + return True return False