{"action":"opened","issue":{"url":"https://api.github.com/repos/enthought/bzip2-1.0.6/issues/1","labels_url":"https://api.github.com/repos/enthought/bzip2-1.0.6/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/enthought/bzip2-1.0.6/issues/1/comments","events_url":"https://api.github.com/repos/enthought/bzip2-1.0.6/issues/1/events","html_url":"https://github.com/enthought/bzip2-1.0.6/issues/1","id":67516860,"number":1,"title":" bzdiff creates empty tmp files and leaves them","user":{"login":"kwatram","id":11882335,"avatar_url":"https://avatars.githubusercontent.com/u/11882335?v=3","gravatar_id":"","url":"https://api.github.com/users/kwatram","html_url":"https://github.com/kwatram","followers_url":"https://api.github.com/users/kwatram/followers","following_url":"https://api.github.com/users/kwatram/following{/other_user}","gists_url":"https://api.github.com/users/kwatram/gists{/gist_id}","starred_url":"https://api.github.com/users/kwatram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwatram/subscriptions","organizations_url":"https://api.github.com/users/kwatram/orgs","repos_url":"https://api.github.com/users/kwatram/repos","events_url":"https://api.github.com/users/kwatram/events{/privacy}","received_events_url":"https://api.github.com/users/kwatram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-10T05:57:27Z","updated_at":"2015-04-10T05:57:27Z","closed_at":null,"body":" The script creates the temporary file unconditionally, but only deletes it if both the targets are .bz2 files.\r\n\r\nFor Instance:\r\n\r\n[10 01:49] kwatram@argon37: ~> lt /tmp | head\r\ntotal 1940\r\n-rw-r--r--  1 root     root     14440 Apr 10 01:49 pim.info.argon37.nyc.deshaw.com\r\n-rw-------  1 root     root       764 Apr 10 01:48 krb5cc_0_4974_cron_TwpGBN\r\n-rw-r--r--  1 root     root        10 Apr 10 01:45 last_healthcheck\r\n-rw-------  1 chenp    wheel      609 Apr 10 01:44 krb5cc_13068\r\ndrwx------  6 kwatram  wheel      120 Apr 10 01:42 129343213.tmpdir\r\n-rw-------  1 peeqtrd  wheel      581 Apr 10 01:34 krb5cc_3050\r\n-rw-------  1 s1trd    wheel      609 Apr 10 01:19 krb5cc_3017\r\n-rw-------  1 mouser   mouser     611 Apr 10 01:09 krb5cc_5468\r\n-rw-------  1 wongp    wheel      609 Apr 10 01:04 krb5cc_13149_6366_sshd_bONoIC6366\r\n\r\n[10 01:49] kwatram@argon37: ~> bzdiff Reuters_trade_price_cumVol_Columns.txt Reuters_trade_price_cumVol_Columns.txt.bz2 \r\n\r\n[10 01:50] kwatram@argon37: ~> lt /tmp | head\r\ntotal 1964\r\ndrwx------  6 kwatram  wheel      140 Apr 10 01:50 129343213.tmpdir\r\n-rw-------  1 root     root       764 Apr 10 01:50 krb5cc_0_5394_cron_cE0mBx\r\n-rw-------  1 root     root       764 Apr 10 01:50 krb5cc_0_5393_cron_XZVyou\r\n-rw-------  1 root     root       764 Apr 10 01:50 krb5cc_0_5397_cron_MNjbPx\r\n-rw-------  1 root     root       764 Apr 10 01:50 krb5cc_0_5395_cron_NSJPsu\r\n-rw-------  1 root     root       764 Apr 10 01:50 krb5cc_0_5396_cron_rj9Gmu\r\n-rw-------  1 root     root       764 Apr 10 01:50 krb5cc_0_5398_cron_iVRwou\r\n-rw-r--r--  1 root     root     14441 Apr 10 01:49 pim.info.argon37.nyc.deshaw.com\r\n-rw-------  1 root     root       764 Apr 10 01:48 krb5cc_0_4974_cron_TwpGBN\r\n[10 01:51] kwatram@argon37: /tmp/129343213.tmpdir> lt /tmp/129343213.tmpdir | head\r\ntotal 0\r\n-rw------- 1 kwatram wheel  0 Apr 10 01:50 bzdiff.1khUHz6QER\r\ndrwx------ 2 kwatram wheel 40 Mar 30 07:08 python-eggs.j9P8Eg\r\ndrwx------ 2 kwatram wheel 40 Mar 30 06:48 python-eggs.j4uQrK\r\ndrwx------ 2 kwatram wheel 40 Mar 30 06:27 python-eggs.Q4hUQp\r\ndrwx------ 2 kwatram wheel 40 Mar 29 09:45 python-eggs.nGFDfg\r\n\r\nThe tmp file bzdiff.1khUHz6QER is not removed.\r\n\r\nThanks,\r\nMohit"}}