The GitPython tutorial mentions the attribute untracked_files as the way to get the array of untracked files of a particular git repository.
However referring to this attribute results in the following error.
AttributeError: 'Repo' object has no attribute 'untracked_files'
What is the method in GitPython to get the list of untracked files?
The untracked_files
property was added in GitPython v0.2 (see the change log).
You should check your installed version and upgrade if necessaary.