{"push_id":1086561678,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"af7862efab00dd998832fc37c2f341440a7865b2","before":"8d5b714cca7cc26862f12c93df8bf9328282bc39","commits":[{"sha":"b3568c0ec1130f328e75ec405c2974ead81540cc","author":{"email":"37d41699bdee4fcb969ca499eb0f8b82c60d59cc@stb-tester.com","name":"William Manley"},"message":"auto-selftest: Fix removing directories that have subdirectories but no files\n\nWithout this change we'd get the error:\n\n    Traceback (most recent call last):\n      File \"stbt/stbt_auto_selftest.py\", line 462, in <module>\n        sys.exit(main(sys.argv))\n      File \"stbt/stbt_auto_selftest.py\", line 92, in main\n        generate()\n      File \"stbt/stbt_auto_selftest.py\", line 100, in generate\n        tmpdir = generate_into_tmpdir()\n      File \"stbt/stbt_auto_selftest.py\", line 180, in generate_into_tmpdir\n        prune_empty_directories(tmpdir)\n      File \"stbt/stbt_auto_selftest.py\", line 138, in prune_empty_directories\n        os.rmdir(root)\n    OSError: [Errno 39] Directory not empty: './selftest/auto_selftest.../tests/subdir'\n\nI came across this problem when running in a test-pack that was organised\nsuch that it just had subdirectories under `tests/` but no files.","distinct":true,"url":"https://api.github.com/repos/stb-tester/stb-tester/commits/b3568c0ec1130f328e75ec405c2974ead81540cc"},{"sha":"af7862efab00dd998832fc37c2f341440a7865b2","author":{"email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@rothlis.net","name":"David Röthlisberger"},"message":"Merge pull request #349 from wmanley/fix-auto-selftest-subdir\n\nauto-selftest: Fix removing directories that have subdirectories but no files","distinct":true,"url":"https://api.github.com/repos/stb-tester/stb-tester/commits/af7862efab00dd998832fc37c2f341440a7865b2"}]}