{"action":"created","comment":{"url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/comments/45512505","id":45512505,"diff_hunk":"@@ -125,32 +117,16 @@ def raster_pre_add_files_to_resource_trigger(sender, **kwargs):\n             for i in range(bcount):\n                 res.metadata.create_element('BandInformation', name='Band_' + str(i+1), variableName='Unnamed', variableUnit='Unnamed', method='', comment='')\n \n+\n @receiver(pre_delete_file_from_resource, sender=RasterResource)\n def raster_pre_delete_file_from_resource_trigger(sender, **kwargs):\n-    if(sender is RasterResource):\n+    if sender is RasterResource:","path":"hs_geo_raster_resource/receivers.py","position":66,"original_position":66,"commit_id":"fb5c85788c505d89c1fbf2c88ef4e0691c72ab47","original_commit_id":"fb5c85788c505d89c1fbf2c88ef4e0691c72ab47","user":{"login":"pkdash","id":2523434,"avatar_url":"https://avatars.githubusercontent.com/u/2523434?v=3","gravatar_id":"","url":"https://api.github.com/users/pkdash","html_url":"https://github.com/pkdash","followers_url":"https://api.github.com/users/pkdash/followers","following_url":"https://api.github.com/users/pkdash/following{/other_user}","gists_url":"https://api.github.com/users/pkdash/gists{/gist_id}","starred_url":"https://api.github.com/users/pkdash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkdash/subscriptions","organizations_url":"https://api.github.com/users/pkdash/orgs","repos_url":"https://api.github.com/users/pkdash/repos","events_url":"https://api.github.com/users/pkdash/events{/privacy}","received_events_url":"https://api.github.com/users/pkdash/received_events","type":"User","site_admin":false},"body":"same - if statement is not needed","created_at":"2015-11-20T20:08:20Z","updated_at":"2015-11-20T20:08:20Z","html_url":"https://github.com/hydroshare/hydroshare/pull/736#discussion_r45512505","pull_request_url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/736","_links":{"self":{"href":"https://api.github.com/repos/hydroshare/hydroshare/pulls/comments/45512505"},"html":{"href":"https://github.com/hydroshare/hydroshare/pull/736#discussion_r45512505"},"pull_request":{"href":"https://api.github.com/repos/hydroshare/hydroshare/pulls/736"}}},"pull_request":{"url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/736","id":50750683,"html_url":"https://github.com/hydroshare/hydroshare/pull/736","diff_url":"https://github.com/hydroshare/hydroshare/pull/736.diff","patch_url":"https://github.com/hydroshare/hydroshare/pull/736.patch","issue_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/736","number":736,"state":"open","locked":false,"title":"714 raster refactor","user":{"login":"gantian127","id":5016511,"avatar_url":"https://avatars.githubusercontent.com/u/5016511?v=3","gravatar_id":"","url":"https://api.github.com/users/gantian127","html_url":"https://github.com/gantian127","followers_url":"https://api.github.com/users/gantian127/followers","following_url":"https://api.github.com/users/gantian127/following{/other_user}","gists_url":"https://api.github.com/users/gantian127/gists{/gist_id}","starred_url":"https://api.github.com/users/gantian127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gantian127/subscriptions","organizations_url":"https://api.github.com/users/gantian127/orgs","repos_url":"https://api.github.com/users/gantian127/repos","events_url":"https://api.github.com/users/gantian127/events{/privacy}","received_events_url":"https://api.github.com/users/gantian127/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-15T17:01:53Z","updated_at":"2015-11-20T20:08:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"add39548225c425810bc48afdc7ab2ae3016beeb","assignee":{"login":"gantian127","id":5016511,"avatar_url":"https://avatars.githubusercontent.com/u/5016511?v=3","gravatar_id":"","url":"https://api.github.com/users/gantian127","html_url":"https://github.com/gantian127","followers_url":"https://api.github.com/users/gantian127/followers","following_url":"https://api.github.com/users/gantian127/following{/other_user}","gists_url":"https://api.github.com/users/gantian127/gists{/gist_id}","starred_url":"https://api.github.com/users/gantian127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gantian127/subscriptions","organizations_url":"https://api.github.com/users/gantian127/orgs","repos_url":"https://api.github.com/users/gantian127/repos","events_url":"https://api.github.com/users/gantian127/events{/privacy}","received_events_url":"https://api.github.com/users/gantian127/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hydroshare/hydroshare/milestones/18","html_url":"https://github.com/hydroshare/hydroshare/milestones/Release%201.6.3%20-%20Further%20Improvements","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/milestones/18/labels","id":1391822,"number":18,"title":"Release 1.6.3 - Further Improvements","description":"Improvements not included in 1.6.2","creator":{"login":"mjstealey","id":5332509,"avatar_url":"https://avatars.githubusercontent.com/u/5332509?v=3","gravatar_id":"","url":"https://api.github.com/users/mjstealey","html_url":"https://github.com/mjstealey","followers_url":"https://api.github.com/users/mjstealey/followers","following_url":"https://api.github.com/users/mjstealey/following{/other_user}","gists_url":"https://api.github.com/users/mjstealey/gists{/gist_id}","starred_url":"https://api.github.com/users/mjstealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjstealey/subscriptions","organizations_url":"https://api.github.com/users/mjstealey/orgs","repos_url":"https://api.github.com/users/mjstealey/repos","events_url":"https://api.github.com/users/mjstealey/events{/privacy}","received_events_url":"https://api.github.com/users/mjstealey/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":2,"state":"open","created_at":"2015-11-03T17:13:57Z","updated_at":"2015-11-19T19:50:24Z","due_on":"2015-11-17T05:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/736/commits","review_comments_url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/736/comments","review_comment_url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/736/comments","statuses_url":"https://api.github.com/repos/hydroshare/hydroshare/statuses/fb5c85788c505d89c1fbf2c88ef4e0691c72ab47","head":{"label":"hydroshare:714-raster-refactor","ref":"714-raster-refactor","sha":"fb5c85788c505d89c1fbf2c88ef4e0691c72ab47","user":{"login":"hydroshare","id":3444493,"avatar_url":"https://avatars.githubusercontent.com/u/3444493?v=3","gravatar_id":"","url":"https://api.github.com/users/hydroshare","html_url":"https://github.com/hydroshare","followers_url":"https://api.github.com/users/hydroshare/followers","following_url":"https://api.github.com/users/hydroshare/following{/other_user}","gists_url":"https://api.github.com/users/hydroshare/gists{/gist_id}","starred_url":"https://api.github.com/users/hydroshare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydroshare/subscriptions","organizations_url":"https://api.github.com/users/hydroshare/orgs","repos_url":"https://api.github.com/users/hydroshare/repos","events_url":"https://api.github.com/users/hydroshare/events{/privacy}","received_events_url":"https://api.github.com/users/hydroshare/received_events","type":"Organization","site_admin":false},"repo":{"id":24703136,"name":"hydroshare","full_name":"hydroshare/hydroshare","owner":{"login":"hydroshare","id":3444493,"avatar_url":"https://avatars.githubusercontent.com/u/3444493?v=3","gravatar_id":"","url":"https://api.github.com/users/hydroshare","html_url":"https://github.com/hydroshare","followers_url":"https://api.github.com/users/hydroshare/followers","following_url":"https://api.github.com/users/hydroshare/following{/other_user}","gists_url":"https://api.github.com/users/hydroshare/gists{/gist_id}","starred_url":"https://api.github.com/users/hydroshare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydroshare/subscriptions","organizations_url":"https://api.github.com/users/hydroshare/orgs","repos_url":"https://api.github.com/users/hydroshare/repos","events_url":"https://api.github.com/users/hydroshare/events{/privacy}","received_events_url":"https://api.github.com/users/hydroshare/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hydroshare/hydroshare","description":"HydroShare is a collaborative website being developed for better access to data and models in the hydrologic sciences. ","fork":false,"url":"https://api.github.com/repos/hydroshare/hydroshare","forks_url":"https://api.github.com/repos/hydroshare/hydroshare/forks","keys_url":"https://api.github.com/repos/hydroshare/hydroshare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hydroshare/hydroshare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hydroshare/hydroshare/teams","hooks_url":"https://api.github.com/repos/hydroshare/hydroshare/hooks","issue_events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/events{/number}","events_url":"https://api.github.com/repos/hydroshare/hydroshare/events","assignees_url":"https://api.github.com/repos/hydroshare/hydroshare/assignees{/user}","branches_url":"https://api.github.com/repos/hydroshare/hydroshare/branches{/branch}","tags_url":"https://api.github.com/repos/hydroshare/hydroshare/tags","blobs_url":"https://api.github.com/repos/hydroshare/hydroshare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hydroshare/hydroshare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hydroshare/hydroshare/git/refs{/sha}","trees_url":"https://api.github.com/repos/hydroshare/hydroshare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hydroshare/hydroshare/statuses/{sha}","languages_url":"https://api.github.com/repos/hydroshare/hydroshare/languages","stargazers_url":"https://api.github.com/repos/hydroshare/hydroshare/stargazers","contributors_url":"https://api.github.com/repos/hydroshare/hydroshare/contributors","subscribers_url":"https://api.github.com/repos/hydroshare/hydroshare/subscribers","subscription_url":"https://api.github.com/repos/hydroshare/hydroshare/subscription","commits_url":"https://api.github.com/repos/hydroshare/hydroshare/commits{/sha}","git_commits_url":"https://api.github.com/repos/hydroshare/hydroshare/git/commits{/sha}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/comments{/number}","issue_comment_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/comments{/number}","contents_url":"https://api.github.com/repos/hydroshare/hydroshare/contents/{+path}","compare_url":"https://api.github.com/repos/hydroshare/hydroshare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hydroshare/hydroshare/merges","archive_url":"https://api.github.com/repos/hydroshare/hydroshare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hydroshare/hydroshare/downloads","issues_url":"https://api.github.com/repos/hydroshare/hydroshare/issues{/number}","pulls_url":"https://api.github.com/repos/hydroshare/hydroshare/pulls{/number}","milestones_url":"https://api.github.com/repos/hydroshare/hydroshare/milestones{/number}","notifications_url":"https://api.github.com/repos/hydroshare/hydroshare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/labels{/name}","releases_url":"https://api.github.com/repos/hydroshare/hydroshare/releases{/id}","created_at":"2014-10-02T02:19:41Z","updated_at":"2015-10-16T12:02:24Z","pushed_at":"2015-11-20T20:08:08Z","git_url":"git://github.com/hydroshare/hydroshare.git","ssh_url":"git@github.com:hydroshare/hydroshare.git","clone_url":"https://github.com/hydroshare/hydroshare.git","svn_url":"https://github.com/hydroshare/hydroshare","homepage":"https://www.hydroshare.org","size":57256,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":176,"forks":2,"open_issues":176,"watchers":12,"default_branch":"develop"}},"base":{"label":"hydroshare:develop","ref":"develop","sha":"6267e5381a13ceaac6febb77e9a43b3f3ebbc938","user":{"login":"hydroshare","id":3444493,"avatar_url":"https://avatars.githubusercontent.com/u/3444493?v=3","gravatar_id":"","url":"https://api.github.com/users/hydroshare","html_url":"https://github.com/hydroshare","followers_url":"https://api.github.com/users/hydroshare/followers","following_url":"https://api.github.com/users/hydroshare/following{/other_user}","gists_url":"https://api.github.com/users/hydroshare/gists{/gist_id}","starred_url":"https://api.github.com/users/hydroshare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydroshare/subscriptions","organizations_url":"https://api.github.com/users/hydroshare/orgs","repos_url":"https://api.github.com/users/hydroshare/repos","events_url":"https://api.github.com/users/hydroshare/events{/privacy}","received_events_url":"https://api.github.com/users/hydroshare/received_events","type":"Organization","site_admin":false},"repo":{"id":24703136,"name":"hydroshare","full_name":"hydroshare/hydroshare","owner":{"login":"hydroshare","id":3444493,"avatar_url":"https://avatars.githubusercontent.com/u/3444493?v=3","gravatar_id":"","url":"https://api.github.com/users/hydroshare","html_url":"https://github.com/hydroshare","followers_url":"https://api.github.com/users/hydroshare/followers","following_url":"https://api.github.com/users/hydroshare/following{/other_user}","gists_url":"https://api.github.com/users/hydroshare/gists{/gist_id}","starred_url":"https://api.github.com/users/hydroshare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydroshare/subscriptions","organizations_url":"https://api.github.com/users/hydroshare/orgs","repos_url":"https://api.github.com/users/hydroshare/repos","events_url":"https://api.github.com/users/hydroshare/events{/privacy}","received_events_url":"https://api.github.com/users/hydroshare/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hydroshare/hydroshare","description":"HydroShare is a collaborative website being developed for better access to data and models in the hydrologic sciences. ","fork":false,"url":"https://api.github.com/repos/hydroshare/hydroshare","forks_url":"https://api.github.com/repos/hydroshare/hydroshare/forks","keys_url":"https://api.github.com/repos/hydroshare/hydroshare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hydroshare/hydroshare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hydroshare/hydroshare/teams","hooks_url":"https://api.github.com/repos/hydroshare/hydroshare/hooks","issue_events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/events{/number}","events_url":"https://api.github.com/repos/hydroshare/hydroshare/events","assignees_url":"https://api.github.com/repos/hydroshare/hydroshare/assignees{/user}","branches_url":"https://api.github.com/repos/hydroshare/hydroshare/branches{/branch}","tags_url":"https://api.github.com/repos/hydroshare/hydroshare/tags","blobs_url":"https://api.github.com/repos/hydroshare/hydroshare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hydroshare/hydroshare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hydroshare/hydroshare/git/refs{/sha}","trees_url":"https://api.github.com/repos/hydroshare/hydroshare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hydroshare/hydroshare/statuses/{sha}","languages_url":"https://api.github.com/repos/hydroshare/hydroshare/languages","stargazers_url":"https://api.github.com/repos/hydroshare/hydroshare/stargazers","contributors_url":"https://api.github.com/repos/hydroshare/hydroshare/contributors","subscribers_url":"https://api.github.com/repos/hydroshare/hydroshare/subscribers","subscription_url":"https://api.github.com/repos/hydroshare/hydroshare/subscription","commits_url":"https://api.github.com/repos/hydroshare/hydroshare/commits{/sha}","git_commits_url":"https://api.github.com/repos/hydroshare/hydroshare/git/commits{/sha}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/comments{/number}","issue_comment_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/comments{/number}","contents_url":"https://api.github.com/repos/hydroshare/hydroshare/contents/{+path}","compare_url":"https://api.github.com/repos/hydroshare/hydroshare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hydroshare/hydroshare/merges","archive_url":"https://api.github.com/repos/hydroshare/hydroshare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hydroshare/hydroshare/downloads","issues_url":"https://api.github.com/repos/hydroshare/hydroshare/issues{/number}","pulls_url":"https://api.github.com/repos/hydroshare/hydroshare/pulls{/number}","milestones_url":"https://api.github.com/repos/hydroshare/hydroshare/milestones{/number}","notifications_url":"https://api.github.com/repos/hydroshare/hydroshare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/labels{/name}","releases_url":"https://api.github.com/repos/hydroshare/hydroshare/releases{/id}","created_at":"2014-10-02T02:19:41Z","updated_at":"2015-10-16T12:02:24Z","pushed_at":"2015-11-20T20:08:08Z","git_url":"git://github.com/hydroshare/hydroshare.git","ssh_url":"git@github.com:hydroshare/hydroshare.git","clone_url":"https://github.com/hydroshare/hydroshare.git","svn_url":"https://github.com/hydroshare/hydroshare","homepage":"https://www.hydroshare.org","size":57256,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":176,"forks":2,"open_issues":176,"watchers":12,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/hydroshare/hydroshare/pulls/736"},"html":{"href":"https://github.com/hydroshare/hydroshare/pull/736"},"issue":{"href":"https://api.github.com/repos/hydroshare/hydroshare/issues/736"},"comments":{"href":"https://api.github.com/repos/hydroshare/hydroshare/issues/736/comments"},"review_comments":{"href":"https://api.github.com/repos/hydroshare/hydroshare/pulls/736/comments"},"review_comment":{"href":"https://api.github.com/repos/hydroshare/hydroshare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hydroshare/hydroshare/pulls/736/commits"},"statuses":{"href":"https://api.github.com/repos/hydroshare/hydroshare/statuses/fb5c85788c505d89c1fbf2c88ef4e0691c72ab47"}}}}