diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index dfcaec076..fec450b13 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -195,7 +195,7 @@ def binLog(): restart() else: path = getDataDir() - if args.has_key('status'): + if 'status' in args: dsize = 0 for n in os.listdir(path): if len(n) < 9: