Replace str.find()!=1 with the more readable "in" operator.
diff --git a/Lib/robotparser.py b/Lib/robotparser.py
index 6b23188..13d8ac2 100644
--- a/Lib/robotparser.py
+++ b/Lib/robotparser.py
@@ -214,7 +214,7 @@
                 # we have the catch-all agent
                 return True
             agent = agent.lower()
-            if useragent.find(agent) != -1:
+            if agent in useragent:
                 return True
         return False