Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upgit.Repo object leaves open files #718
Open
Labels
Comments
I managed to avoid tracebacks by calling |
Thanks for the detailed information, as well as a workaround. |
@radujipa maybe you want to look at tips and suggestions in the various |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've made a small tool to help me manage tens of repos in one go, e.g. status, checkout, and pull. I'm having an issue when printing details of the last commit.
When I also call the following function, the traceback starts happening:
Example output:
My platform details
OS: macOS High Sierra 10.13.2
I've tried a mixture of calling
del
on therepo
objects, looking for explicitclose
methods through the library API - no luck.Any ideas?