{"push_id":1199874346,"size":2,"distinct_size":2,"ref":"refs/heads/wip-ceph-detect-init-py3","head":"6ed1c41fede0a767adcf1ba53f2a57d94ec2fda9","before":"949b582b1829613285ea70934dbcb75767d1c992","commits":[{"sha":"4366145a09f109c86972014c945969036653eeaa","author":{"name":"Kefu Chai","email":"b1a573d2d314b4071b008c785c81b68303acbb72@redhat.com"},"message":"test: ceph-detect-init: fix the indent\n\nthis fixes the pep8 failure:\n```\npep8 runtests: commands[0] | flake8 ceph_detect_init tests\ntests/test_all.py:121:17: E128 continuation line under-indented for\nvisual indent\ntests/test_all.py:125:17: E128 continuation line under-indented for\nvisual indent\ntests/test_all.py:129:17: E128 continuation line under-indented for\nvisual indent\ntests/test_all.py:133:17: E128 continuation line under-indented for\nvisual indent\n```\n\nSigned-off-by: Kefu Chai <kchai@redhat.com>","distinct":true,"url":"https://api.github.com/repos/tchaikov/ceph/commits/4366145a09f109c86972014c945969036653eeaa"},{"sha":"6ed1c41fede0a767adcf1ba53f2a57d94ec2fda9","author":{"name":"Kefu Chai","email":"b1a573d2d314b4071b008c785c81b68303acbb72@redhat.com"},"message":"ceph-detect-init: fix the py3 test\n\nthe mock_open() does not support \"for i in open()\", and readline() and\nreadlines() support was added in py3.3 and py3.4 so for better backwards\ncompatibility, we should change the code being tested to use the plain\nread() call.\nand also use open(path) instead of open(path, 'rb') for simplicity,\notherwise we need to use bytestring for comparison and pass the same\nparameters to mock.\n\nSigned-off-by: Kefu Chai <kchai@redhat.com>","distinct":true,"url":"https://api.github.com/repos/tchaikov/ceph/commits/6ed1c41fede0a767adcf1ba53f2a57d94ec2fda9"}]}
{"actor":{"display_login":"tchaikov"}}