{"action":"created","issue":{"url":"https://api.github.com/repos/meejah/txtorcon/issues/103","labels_url":"https://api.github.com/repos/meejah/txtorcon/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/meejah/txtorcon/issues/103/comments","events_url":"https://api.github.com/repos/meejah/txtorcon/issues/103/events","html_url":"https://github.com/meejah/txtorcon/pull/103","id":58528344,"number":103,"title":"Check whether current hidden service dir is the same as other hidden service dir","user":{"login":"sammyshj","id":4390022,"avatar_url":"https://avatars.githubusercontent.com/u/4390022?v=3","gravatar_id":"","url":"https://api.github.com/users/sammyshj","html_url":"https://github.com/sammyshj","followers_url":"https://api.github.com/users/sammyshj/followers","following_url":"https://api.github.com/users/sammyshj/following{/other_user}","gists_url":"https://api.github.com/users/sammyshj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammyshj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammyshj/subscriptions","organizations_url":"https://api.github.com/users/sammyshj/orgs","repos_url":"https://api.github.com/users/sammyshj/repos","events_url":"https://api.github.com/users/sammyshj/events{/privacy}","received_events_url":"https://api.github.com/users/sammyshj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-22T23:43:46Z","updated_at":"2015-02-24T02:41:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/meejah/txtorcon/pulls/103","html_url":"https://github.com/meejah/txtorcon/pull/103","diff_url":"https://github.com/meejah/txtorcon/pull/103.diff","patch_url":"https://github.com/meejah/txtorcon/pull/103.patch"},"body":"In case that the current hidden service dir is the same as the dir of any other hidden services, then change the current hidden service dir."},"comment":{"url":"https://api.github.com/repos/meejah/txtorcon/issues/comments/75688345","html_url":"https://github.com/meejah/txtorcon/pull/103#issuecomment-75688345","issue_url":"https://api.github.com/repos/meejah/txtorcon/issues/103","id":75688345,"user":{"login":"meejah","id":145599,"avatar_url":"https://avatars.githubusercontent.com/u/145599?v=3","gravatar_id":"","url":"https://api.github.com/users/meejah","html_url":"https://github.com/meejah","followers_url":"https://api.github.com/users/meejah/followers","following_url":"https://api.github.com/users/meejah/following{/other_user}","gists_url":"https://api.github.com/users/meejah/gists{/gist_id}","starred_url":"https://api.github.com/users/meejah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meejah/subscriptions","organizations_url":"https://api.github.com/users/meejah/orgs","repos_url":"https://api.github.com/users/meejah/repos","events_url":"https://api.github.com/users/meejah/events{/privacy}","received_events_url":"https://api.github.com/users/meejah/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T02:41:04Z","updated_at":"2015-02-24T02:41:04Z","body":"I wonder if we can just simplify this to a single \"if\", like: \"if hsdir not in map(lambda hs: hs.dir, self.config.hiddenservices)\" or similar...?"}}