Commits

Mikhail Korobov  committed c91d5d8

Less verbose _mysql_user_exists output

  • Participants
  • Parent commits 46b0fdd

Comments (0)

Files changed (1)

File fab_deploy/mysql.py

 
 def _mysql_user_exists(db_user):
     sql = MYSQL_USER_EXISTS % dict(db_user=db_user)
-    with settings(warn_only=True):
+    with settings(hide('warnings', 'running', 'stdout', 'stderr'), warn_only=True):
         result = mysql_execute(sql, 'root')
     return result.succeeded