Closed joshmoore closed 5 years ago
AttributeError: 'NoneType' object has no attribute 'private'
Doesn't that mean repo
was None
?
In this specific case, it looks like the GitHub PullRequest API returns null
for the head repo - see https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/5936. The expectation is that this API will return the head repository - see https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/5900. This might have been caused by a deletion of the fork followed by a reforking.
My concern with this situation is that we might propagate the AttributeError
since the library will not know which remote should be fetched and merged.
Doesn't that mean repo was None?
~You're right, but hasattr
is None safe.~ Duh.
My concern with this situation is that we might propagate the AttributeError since the library will not know which remote should be fetched and merged.
My hope was mostly to get a (green?) branch that I could point jenkins for testing but have been sidelined today.
Build is green. Merging and pushing out a 0.10.2 to see if I can get jenkins green. If we need to do a 0.10.3 later today, we can.
A newly forked repository by @olatarkowska led to the following error: