Permalink
Browse files

Default DSTAT_MYSQL to empty string when unset

  • Loading branch information...
1 parent a1fe09a commit 145ad72b748b03fc3caeb19e3bf64446c562d60a @dagwieers committed Feb 5, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/dstat_mysql5_innodb.py
View
2 plugins/dstat_mysql5_innodb.py
@@ -1,7 +1,7 @@
### Author: HIROSE Masaaki <hirose31 _at_ gmail.com>
global mysql_options
-mysql_options = os.getenv('DSTAT_MYSQL')
+mysql_options = os.getenv('DSTAT_MYSQL') or ''
global target_status
global _basic_status

0 comments on commit 145ad72

Please sign in to comment.