594f11a25f66318bb759b22af72017b7e01383d9,bin/search_xmpp.py,CVEBot,message,#CVEBot#Any#,156
Before Change
option = None
msg.reply(cvesearch(query="last", option=option)).send()
elif q[0] == "cvetweet":
try:
option = q[1]
except IndexError:
option = None
msg.reply(cvesearch(query="cvetweet", option=option)).send()
else:
msg.reply(helpmessage).send()
After Change
elif q[0] == "browse":
msg.reply(cvesearch(query="browse", option=option)).send()
elif q[0] == "get":
msg.reply(cvesearch(query="get", option=option)).send()
elif q[0] == "cvetweet":
msg.reply(cvesearch(query="cvetweet", option=option)).send()
elif q[0] == "search":
msg.reply(cvesearch(query="search", option=option)).send()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: cve-search/cve-search
Commit Name: 594f11a25f66318bb759b22af72017b7e01383d9
Time: 2015-03-11
Author: a@foo.be
File Name: bin/search_xmpp.py
Class Name: CVEBot
Method Name: message
Project Name: DexterInd/GoPiGo3
Commit Name: 1fb289b0de21ec00d28046eff88d6da8f4c15319
Time: 2017-07-21
Author: robert.lucian.chiriac@gmail.com
File Name: Projects/BasicRobotControl/runnable.py
Class Name:
Method Name: Main
Project Name: DexterInd/GoPiGo3
Commit Name: f8d97b8a228504adc12a2286c62f0fd7827a3a3c
Time: 2017-07-20
Author: robert.lucian.chiriac@gmail.com
File Name: Projects/BasicRobotControl/runnable.py
Class Name:
Method Name: Main