Move the locking around the entire loop body.
treeab093278be3a0b6d07452b08aa9927b5f14f2cef
-rw-r--r-- 18 .gitignore
-rwxr-xr-x 4032 jirabot.py