{"push_id":2404408595,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"4b494b6eb25fea71a7c536f8b6e16b3b6e0b83a4","before":"445178051da1fe7a28bf1914d7e957ef9d0a290d","commits":[{"sha":"0fe285ff2592ae35e8238927979d7dfa1fa05ed8","author":{"name":"Andrei Vagin","email":"94e0a78365855762efb4dc69e66e1b9e1db47c59@openvz.org"},"message":"Acquire a lock to a preference file before working with it\n\nOtherwise we can meet a situation, when one process is writing a file,\nbut another one tries to read the same file:\n\nprefs.py:147:load:EOFError\n\nTraceback (most recent call last):\n  File \"/usr/bin/targetcli\", line 121, in <module>\n    main()\n  File \"/usr/bin/targetcli\", line 77, in main\n    shell = TargetCLI('~/.targetcli')\n  File \"/usr/lib/python2.7/site-packages/configshell_fb/shell.py\", line 176, in __init__\n    self.prefs.load()\n  File \"/usr/lib/python2.7/site-packages/configshell_fb/prefs.py\", line 147, in load\n    self._prefs = six.moves.cPickle.load(fsock)\nEOFError\n\nLocal variables in innermost frame:\nself: <configshell_fb.prefs.Prefs object at 0x1077550>\nfsock: <closed file '/root/.targetcli/prefs.bin', mode 'rb' at 0x1058300>\nfilename: '/root/.targetcli/prefs.bin'\n\nSigned-off-by: Andrei Vagin <avagin@openvz.org>","distinct":true,"url":"https://api.github.com/repos/open-iscsi/configshell-fb/commits/0fe285ff2592ae35e8238927979d7dfa1fa05ed8"},{"sha":"4b494b6eb25fea71a7c536f8b6e16b3b6e0b83a4","author":{"name":"Andy Grover","email":"3b57b84c25fafa432787cb19a4e06e8a6bd56948@groveronline.com"},"message":"Merge pull request #43 from avagin/lock\n\nAcquire a lock to a preference file before working with it","distinct":true,"url":"https://api.github.com/repos/open-iscsi/configshell-fb/commits/4b494b6eb25fea71a7c536f8b6e16b3b6e0b83a4"}]}
{"actor":{"display_login":"agrover"}}