{"action":"created","comment":{"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments/45989844","id":45989844,"diff_hunk":"@@ -2119,55 +2130,57 @@ def execute(my):\n                 trigger.commit()\n                 trigger_code = trigger.get_value(\"code\")\n \n+        search_type = my.kwargs.get(\"search_type\")\n+        print search_type\n \n-        # get the script path\n+        # Get the script path or script\n         script_path = my.kwargs.get(\"script_path\")\n-\n-        # get some data\n         script = my.kwargs.get(\"script\")\n-\n-        search_type = my.kwargs.get(\"search_type\")\n-\n-        # update the trigger\n-        trigger.set_value(\"code\", trigger_code)\n-        trigger.set_value(\"script_path\", script_path)\n-\n-        src_status = my.kwargs.get(\"src_status\")\n-        if src_status:\n-            data = {\n-                'src_status': src_status\n-            }\n-\n-            data = jsondumps(data)\n-            trigger.set_value(\"data\", data)\n-\n-        trigger.commit()\n-\n-        # get the custom script\n+      \n+        if not script_path:\n+            script_path = trigger.get_value(\"script_path\")","path":"src/tactic/ui/tools/trigger_wdg.py","position":259,"original_position":259,"commit_id":"c70074a7132919b3e2c7e03f83f3d9e69601f475","original_commit_id":"c70074a7132919b3e2c7e03f83f3d9e69601f475","user":{"login":"oboreo","id":3139205,"avatar_url":"https://avatars.githubusercontent.com/u/3139205?v=3","gravatar_id":"","url":"https://api.github.com/users/oboreo","html_url":"https://github.com/oboreo","followers_url":"https://api.github.com/users/oboreo/followers","following_url":"https://api.github.com/users/oboreo/following{/other_user}","gists_url":"https://api.github.com/users/oboreo/gists{/gist_id}","starred_url":"https://api.github.com/users/oboreo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oboreo/subscriptions","organizations_url":"https://api.github.com/users/oboreo/orgs","repos_url":"https://api.github.com/users/oboreo/repos","events_url":"https://api.github.com/users/oboreo/events{/privacy}","received_events_url":"https://api.github.com/users/oboreo/received_events","type":"User","site_admin":false},"body":"is this a real trigger sobj here as opposed to notification_sobj? cuz you are not using no_exception=True here.","created_at":"2015-11-26T15:39:11Z","updated_at":"2015-11-26T15:39:11Z","html_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/413#discussion_r45989844","pull_request_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/413","_links":{"self":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments/45989844"},"html":{"href":"https://github.com/Southpaw-TACTIC/TACTIC/pull/413#discussion_r45989844"},"pull_request":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/413"}}},"pull_request":{"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/413","id":51798497,"html_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/413","diff_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/413.diff","patch_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/413.patch","issue_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/413","number":413,"state":"open","locked":false,"title":"Base 249","user":{"login":"CeltonMcGrath","id":5935477,"avatar_url":"https://avatars.githubusercontent.com/u/5935477?v=3","gravatar_id":"","url":"https://api.github.com/users/CeltonMcGrath","html_url":"https://github.com/CeltonMcGrath","followers_url":"https://api.github.com/users/CeltonMcGrath/followers","following_url":"https://api.github.com/users/CeltonMcGrath/following{/other_user}","gists_url":"https://api.github.com/users/CeltonMcGrath/gists{/gist_id}","starred_url":"https://api.github.com/users/CeltonMcGrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeltonMcGrath/subscriptions","organizations_url":"https://api.github.com/users/CeltonMcGrath/orgs","repos_url":"https://api.github.com/users/CeltonMcGrath/repos","events_url":"https://api.github.com/users/CeltonMcGrath/events{/privacy}","received_events_url":"https://api.github.com/users/CeltonMcGrath/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-25T14:11:13Z","updated_at":"2015-11-26T15:39:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cdf87584ef4f736d95e32c900cfdd37afb8756ba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/413/commits","review_comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/413/comments","review_comment_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/413/comments","statuses_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/c70074a7132919b3e2c7e03f83f3d9e69601f475","head":{"label":"CeltonMcGrath:BASE-249","ref":"BASE-249","sha":"c70074a7132919b3e2c7e03f83f3d9e69601f475","user":{"login":"CeltonMcGrath","id":5935477,"avatar_url":"https://avatars.githubusercontent.com/u/5935477?v=3","gravatar_id":"","url":"https://api.github.com/users/CeltonMcGrath","html_url":"https://github.com/CeltonMcGrath","followers_url":"https://api.github.com/users/CeltonMcGrath/followers","following_url":"https://api.github.com/users/CeltonMcGrath/following{/other_user}","gists_url":"https://api.github.com/users/CeltonMcGrath/gists{/gist_id}","starred_url":"https://api.github.com/users/CeltonMcGrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeltonMcGrath/subscriptions","organizations_url":"https://api.github.com/users/CeltonMcGrath/orgs","repos_url":"https://api.github.com/users/CeltonMcGrath/repos","events_url":"https://api.github.com/users/CeltonMcGrath/events{/privacy}","received_events_url":"https://api.github.com/users/CeltonMcGrath/received_events","type":"User","site_admin":false},"repo":{"id":35294955,"name":"TACTIC","full_name":"CeltonMcGrath/TACTIC","owner":{"login":"CeltonMcGrath","id":5935477,"avatar_url":"https://avatars.githubusercontent.com/u/5935477?v=3","gravatar_id":"","url":"https://api.github.com/users/CeltonMcGrath","html_url":"https://github.com/CeltonMcGrath","followers_url":"https://api.github.com/users/CeltonMcGrath/followers","following_url":"https://api.github.com/users/CeltonMcGrath/following{/other_user}","gists_url":"https://api.github.com/users/CeltonMcGrath/gists{/gist_id}","starred_url":"https://api.github.com/users/CeltonMcGrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeltonMcGrath/subscriptions","organizations_url":"https://api.github.com/users/CeltonMcGrath/orgs","repos_url":"https://api.github.com/users/CeltonMcGrath/repos","events_url":"https://api.github.com/users/CeltonMcGrath/events{/privacy}","received_events_url":"https://api.github.com/users/CeltonMcGrath/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CeltonMcGrath/TACTIC","description":"TACTIC - http://community.southpawtech.com","fork":true,"url":"https://api.github.com/repos/CeltonMcGrath/TACTIC","forks_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/forks","keys_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/teams","hooks_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/hooks","issue_events_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/issues/events{/number}","events_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/events","assignees_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/assignees{/user}","branches_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/branches{/branch}","tags_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/tags","blobs_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/statuses/{sha}","languages_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/languages","stargazers_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/stargazers","contributors_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/contributors","subscribers_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/subscribers","subscription_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/subscription","commits_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/contents/{+path}","compare_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/merges","archive_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/downloads","issues_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/issues{/number}","pulls_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/pulls{/number}","milestones_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/milestones{/number}","notifications_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/labels{/name}","releases_url":"https://api.github.com/repos/CeltonMcGrath/TACTIC/releases{/id}","created_at":"2015-05-08T18:23:54Z","updated_at":"2015-05-08T18:23:59Z","pushed_at":"2015-11-25T18:52:52Z","git_url":"git://github.com/CeltonMcGrath/TACTIC.git","ssh_url":"git@github.com:CeltonMcGrath/TACTIC.git","clone_url":"https://github.com/CeltonMcGrath/TACTIC.git","svn_url":"https://github.com/CeltonMcGrath/TACTIC","homepage":"","size":159158,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Southpaw-TACTIC:4.4","ref":"4.4","sha":"0d7bbe4e025f27bf0955ea0c5efd215edb5e77b4","user":{"login":"Southpaw-TACTIC","id":3106159,"avatar_url":"https://avatars.githubusercontent.com/u/3106159?v=3","gravatar_id":"","url":"https://api.github.com/users/Southpaw-TACTIC","html_url":"https://github.com/Southpaw-TACTIC","followers_url":"https://api.github.com/users/Southpaw-TACTIC/followers","following_url":"https://api.github.com/users/Southpaw-TACTIC/following{/other_user}","gists_url":"https://api.github.com/users/Southpaw-TACTIC/gists{/gist_id}","starred_url":"https://api.github.com/users/Southpaw-TACTIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southpaw-TACTIC/subscriptions","organizations_url":"https://api.github.com/users/Southpaw-TACTIC/orgs","repos_url":"https://api.github.com/users/Southpaw-TACTIC/repos","events_url":"https://api.github.com/users/Southpaw-TACTIC/events{/privacy}","received_events_url":"https://api.github.com/users/Southpaw-TACTIC/received_events","type":"Organization","site_admin":false},"repo":{"id":12715951,"name":"TACTIC","full_name":"Southpaw-TACTIC/TACTIC","owner":{"login":"Southpaw-TACTIC","id":3106159,"avatar_url":"https://avatars.githubusercontent.com/u/3106159?v=3","gravatar_id":"","url":"https://api.github.com/users/Southpaw-TACTIC","html_url":"https://github.com/Southpaw-TACTIC","followers_url":"https://api.github.com/users/Southpaw-TACTIC/followers","following_url":"https://api.github.com/users/Southpaw-TACTIC/following{/other_user}","gists_url":"https://api.github.com/users/Southpaw-TACTIC/gists{/gist_id}","starred_url":"https://api.github.com/users/Southpaw-TACTIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southpaw-TACTIC/subscriptions","organizations_url":"https://api.github.com/users/Southpaw-TACTIC/orgs","repos_url":"https://api.github.com/users/Southpaw-TACTIC/repos","events_url":"https://api.github.com/users/Southpaw-TACTIC/events{/privacy}","received_events_url":"https://api.github.com/users/Southpaw-TACTIC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Southpaw-TACTIC/TACTIC","description":"TACTIC - http://community.southpawtech.com","fork":false,"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC","forks_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/forks","keys_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/teams","hooks_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/hooks","issue_events_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/events{/number}","events_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/events","assignees_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/assignees{/user}","branches_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/branches{/branch}","tags_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/tags","blobs_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/{sha}","languages_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/languages","stargazers_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/stargazers","contributors_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/contributors","subscribers_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/subscribers","subscription_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/subscription","commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/contents/{+path}","compare_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/merges","archive_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/downloads","issues_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues{/number}","pulls_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls{/number}","milestones_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/milestones{/number}","notifications_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/labels{/name}","releases_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/releases{/id}","created_at":"2013-09-10T00:06:41Z","updated_at":"2015-11-24T11:55:03Z","pushed_at":"2015-11-25T20:48:09Z","git_url":"git://github.com/Southpaw-TACTIC/TACTIC.git","ssh_url":"git@github.com:Southpaw-TACTIC/TACTIC.git","clone_url":"https://github.com/Southpaw-TACTIC/TACTIC.git","svn_url":"https://github.com/Southpaw-TACTIC/TACTIC","homepage":"","size":163864,"stargazers_count":85,"watchers_count":85,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":19,"forks":40,"open_issues":19,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/413"},"html":{"href":"https://github.com/Southpaw-TACTIC/TACTIC/pull/413"},"issue":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/413"},"comments":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/413/comments"},"review_comments":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/413/comments"},"review_comment":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/413/commits"},"statuses":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/c70074a7132919b3e2c7e03f83f3d9e69601f475"}}}}