Only email if we got no response
authorRich Salz <rsalz@openssl.org>
Mon, 27 Mar 2017 21:33:35 +0000 (17:33 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 27 Mar 2017 21:33:35 +0000 (17:33 -0400)
mailuser

index 131e6b1a00b1048ff247e41469df4f786ab56075..02f6e92c5e3cc79f337e032de030b505457c14f3 100755 (executable)
--- a/mailuser
+++ b/mailuser
@@ -54,7 +54,7 @@ for email in args:
     q = ("SELECT email,last_asked,uid,secret FROM users"
             " WHERE email LIKE %s")
     if not allusers:
-        q = q + " and reply <> 'y'"
+        q = q + " and reply = '-'"
     pat = '%' + email + '%'
     cursor.execute(q, (pat,))
     for row in cursor: