diff --git a/salt/runners/survey.py b/salt/runners/survey.py
index <HASH>..<HASH> 100644
--- a/salt/runners/survey.py
+++ b/salt/runners/survey.py
@@ -152,7 +152,7 @@ def _get_pool_results(*args, **kwargs):
 
     expr_form = kwargs.get('expr_form', 'compound')
     if expr_form not in ['compound', 'pcre']:
-        expr_form='compound'
+        expr_form = 'compound'
 
     client = salt.client.get_local_client(__opts__['conf_file'])
     try:
regular expressions in specifiing targets for salt-run survey.diff, hash