We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc830a commit 5fd7c90Copy full SHA for 5fd7c90
git/remote.py
@@ -122,14 +122,14 @@ def __new__(cls) -> 'IterableList[IterableObj]':
122
123
def __init__(self) -> None:
124
super().__init__('push_infos')
125
- self.exception = None
+ self.error = None
126
127
- def raise_on_error(self):
+ def raise_if_error(self):
128
"""
129
Raise an exception if any ref failed to push.
130
131
- if self.exception:
132
- raise self.exception
+ if self.error:
+ raise self.error
133
134
135
class PushInfo(IterableObj, object):
0 commit comments