{"action":"closed","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/1611","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/1611/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/1611/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/1611/events","html_url":"https://github.com/robotframework/robotframework/issues/1611","id":36761911,"number":1611,"title":"Variable assignment should not be part of keyword name with --removekeywords, in logs, in listener interface, or in other APIs","user":{"login":"spooning","id":1658993,"avatar_url":"https://avatars.githubusercontent.com/u/1658993?v=3","gravatar_id":"","url":"https://api.github.com/users/spooning","html_url":"https://github.com/spooning","followers_url":"https://api.github.com/users/spooning/followers","following_url":"https://api.github.com/users/spooning/following{/other_user}","gists_url":"https://api.github.com/users/spooning/gists{/gist_id}","starred_url":"https://api.github.com/users/spooning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spooning/subscriptions","organizations_url":"https://api.github.com/users/spooning/orgs","repos_url":"https://api.github.com/users/spooning/repos","events_url":"https://api.github.com/users/spooning/events{/privacy}","received_events_url":"https://api.github.com/users/spooning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotframework/robotframework/labels/alpha%202","name":"alpha 2","color":"ffffff"},{"url":"https://api.github.com/repos/robotframework/robotframework/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/robotframework/robotframework/labels/bwic","name":"bwic","color":"fbca04"},{"url":"https://api.github.com/repos/robotframework/robotframework/labels/prio-medium","name":"prio-medium","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"jussimalinen","id":763358,"avatar_url":"https://avatars.githubusercontent.com/u/763358?v=3","gravatar_id":"","url":"https://api.github.com/users/jussimalinen","html_url":"https://github.com/jussimalinen","followers_url":"https://api.github.com/users/jussimalinen/followers","following_url":"https://api.github.com/users/jussimalinen/following{/other_user}","gists_url":"https://api.github.com/users/jussimalinen/gists{/gist_id}","starred_url":"https://api.github.com/users/jussimalinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jussimalinen/subscriptions","organizations_url":"https://api.github.com/users/jussimalinen/orgs","repos_url":"https://api.github.com/users/jussimalinen/repos","events_url":"https://api.github.com/users/jussimalinen/events{/privacy}","received_events_url":"https://api.github.com/users/jussimalinen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/robotframework/robotframework/milestones/16","html_url":"https://github.com/robotframework/robotframework/milestones/2.9","labels_url":"https://api.github.com/repos/robotframework/robotframework/milestones/16/labels","id":705012,"number":16,"title":"2.9","description":null,"creator":{"login":"spooning","id":1658993,"avatar_url":"https://avatars.githubusercontent.com/u/1658993?v=3","gravatar_id":"","url":"https://api.github.com/users/spooning","html_url":"https://github.com/spooning","followers_url":"https://api.github.com/users/spooning/followers","following_url":"https://api.github.com/users/spooning/following{/other_user}","gists_url":"https://api.github.com/users/spooning/gists{/gist_id}","starred_url":"https://api.github.com/users/spooning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spooning/subscriptions","organizations_url":"https://api.github.com/users/spooning/orgs","repos_url":"https://api.github.com/users/spooning/repos","events_url":"https://api.github.com/users/spooning/events{/privacy}","received_events_url":"https://api.github.com/users/spooning/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":40,"state":"open","created_at":"2014-06-29T21:43:00Z","updated_at":"2015-05-19T08:27:33Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2014-06-30T00:17:17Z","updated_at":"2015-05-19T08:27:33Z","closed_at":"2015-05-19T08:27:33Z","body":"> *Originally submitted to [Google Code](http://code.google.com/p/robotframework/issues/detail?id=1611) by kormbrek on 16 Dec 2013*\n\n\nGiven this line in a test,\r\n${foo}=    Create Variable    bar\r\nIn order to remove the keyword using an exact match, the assignment portion is considered part of the keyword name, so something like this must be used:\r\n    --removekeywords ${foo}=BuiltIn.CreateVariable\r\nWhere one would expect this to work:\r\n    --removekeywords BuiltIn.CreateVariable\r\nbut it does not match.\r\nI cannot think of a realistic use case where the assignment portion should be considered part of the keyword for --removekeywords.\r\n\r\nAlso since the matching is against the full keyword names, this example is misleading:\r\n    pybot --removekeywords name:HugeKeyword --removekeywords name:resource.* tests.txt\r\n\r\nIt should have a library name like this:\r\n    pybot --removekeywords name:MyLibrary.HugeKeyword --removekeywords name:resource.* tests.txt\n\n"}}