diff --git a/salt/modules/moosefs.py b/salt/modules/moosefs.py
index <HASH>..<HASH> 100644
--- a/salt/modules/moosefs.py
+++ b/salt/modules/moosefs.py
@@ -144,7 +144,7 @@ def getgoal(path, opts=None):
     out = __salt__['cmd.run_all'](cmd)
 
     output = out['stdout'].splitlines()
-    if not 'r' in opts:
+    if 'r' not in opts:
         goal = output[0].split(': ')
         ret = {
             'goal': goal[1],
Fix PEP8 E<I> - test for membership should be "not in"